Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 109.1 kB / 16.41 MB, free: 6.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 187 kB / 17.34 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.26/1.26, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002077/0.002077, allocations: 294.9 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8976/0.8976, allocations: 169.3 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001641/0.001641, allocations: 96.28 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3824/0.3841, allocations: 86.98 MB / 0.767 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi): time 0.002503/0.3866, allocations: 1.708 MB / 0.7687 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001312/0.388, allocations: 1.113 MB / 0.7698 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.37e-05/0.388, allocations: 0 / 0.7698 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003571/0.3884, allocations: 151.4 kB / 0.7699 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.489e-05/0.3884, allocations: 51.73 kB / 0.77 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003491/0.3888, allocations: 159.4 kB / 0.7701 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.3889, allocations: 111.5 kB / 0.7702 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.642e-05/0.389, allocations: 7.656 kB / 0.7702 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.652e-05/0.389, allocations: 43.78 kB / 0.7703 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.758e-05/0.3891, allocations: 55.75 kB / 0.7703 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.3891, allocations: 0 / 0.7703 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003225/0.3895, allocations: 235.6 kB / 0.7706 GB, free: 284 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.924e-05/0.3896, allocations: 59.78 kB / 0.7706 GB, free: 224 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.724e-05/0.3896, allocations: 63.56 kB / 0.7707 GB, free: 160 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003542/0.39, allocations: 305.7 kB / 0.771 GB, free: 15.86 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.39, allocations: 4 kB / 0.771 GB, free: 15.86 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.923e-06/0.39, allocations: 0 / 0.771 GB, free: 15.86 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.286e-06/0.39, allocations: 0 / 0.771 GB, free: 15.86 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006012/0.3906, allocations: 0.4943 MB / 0.7715 GB, free: 15.31 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.894e-05/0.3907, allocations: 8.031 kB / 0.7715 GB, free: 15.3 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.659e-05/0.3907, allocations: 16.75 kB / 0.7715 GB, free: 15.29 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.3908, allocations: 215.7 kB / 0.7717 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.168e-06/0.3909, allocations: 384 / 0.7717 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.3909, allocations: 4.375 kB / 0.7717 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.3911, allocations: 97.69 kB / 0.7718 GB, free: 14.93 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.593e-06/0.3911, allocations: 0 / 0.7718 GB, free: 14.93 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.3911, allocations: 4 kB / 0.7718 GB, free: 14.93 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.3911, allocations: 0 / 0.7718 GB, free: 14.93 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002093/0.3913, allocations: 95.88 kB / 0.7719 GB, free: 14.84 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004645/0.3918, allocations: 384.8 kB / 0.7722 GB, free: 14.41 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.392, allocations: 98.53 kB / 0.7723 GB, free: 14.3 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.3921, allocations: 52.88 kB / 0.7724 GB, free: 14.25 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.535e-05/0.3921, allocations: 31.92 kB / 0.7724 GB, free: 14.22 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.3922, allocations: 30.56 kB / 0.7725 GB, free: 14.18 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3922, allocations: 4 kB / 0.7725 GB, free: 14.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0004415/0.3926, allocations: 189.3 kB / 0.7726 GB, free: 13.98 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.3927, allocations: 51.41 kB / 0.7727 GB, free: 13.92 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002269/0.3929, allocations: 258.7 kB / 0.7729 GB, free: 13.67 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.3929, allocations: 25.7 kB / 0.773 GB, free: 13.64 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.389e-05/0.393, allocations: 140.1 kB / 0.7731 GB, free: 13.5 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.399e-05/0.393, allocations: 8.031 kB / 0.7731 GB, free: 13.49 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.004e-05/0.3931, allocations: 17.66 kB / 0.7731 GB, free: 13.46 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.3932, allocations: 334.8 kB / 0.7734 GB, free: 13.13 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.3933, allocations: 47.97 kB / 0.7735 GB, free: 13.08 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.3934, allocations: 51.91 kB / 0.7735 GB, free: 13.03 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001921/0.3936, allocations: 104.8 kB / 0.7736 GB, free: 12.93 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3936, allocations: 0 / 0.7736 GB, free: 12.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002669/0.3939, allocations: 141.5 kB / 0.7738 GB, free: 12.78 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.3939, allocations: 6.5 kB / 0.7738 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.3939, allocations: 0 / 0.7738 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.3939, allocations: 0 / 0.7738 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.236e-05/0.394, allocations: 11.98 kB / 0.7738 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.394, allocations: 0 / 0.7738 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.519e-05/0.3941, allocations: 16.02 kB / 0.7738 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.3941, allocations: 0 / 0.7738 GB, free: 12.75 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.479e-05/0.3942, allocations: 144.1 kB / 0.7739 GB, free: 12.6 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.527e-05/0.3943, allocations: 23.7 kB / 0.774 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003149/0.3946, allocations: 158.5 kB / 0.7741 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.3946, allocations: 0 / 0.7741 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3946, allocations: 8 kB / 0.7741 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.3946, allocations: 0 / 0.7741 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002298/0.3948, allocations: 249.5 kB / 0.7744 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3948, allocations: 0 / 0.7744 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.081e-05/0.3949, allocations: 11.98 kB / 0.7744 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3949, allocations: 3.938 kB / 0.7744 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.3949, allocations: 4 kB / 0.7744 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.3949, allocations: 0 / 0.7744 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3949, allocations: 0 / 0.7744 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002788/0.3952, allocations: 255.1 kB / 0.7746 GB, free: 11.83 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.279e-05/0.3953, allocations: 88.92 kB / 0.7747 GB, free: 11.72 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.102e-05/0.3953, allocations: 0 / 0.7747 GB, free: 11.72 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.968e-05/0.3954, allocations: 7.984 kB / 0.7747 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.229e-05/0.3954, allocations: 4 kB / 0.7747 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.3954, allocations: 4 kB / 0.7747 GB, free: 11.71 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001404/0.3956, allocations: 189.9 kB / 0.7749 GB, free: 11.52 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3956, allocations: 4 kB / 0.7749 GB, free: 11.52 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002894/0.3959, allocations: 75.92 kB / 0.775 GB, free: 11.45 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002223/0.3961, allocations: 167.2 kB / 0.7751 GB, free: 11.27 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002573/0.3964, allocations: 107.9 kB / 0.7752 GB, free: 11.17 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3964, allocations: 0 / 0.7752 GB, free: 11.17 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.3965, allocations: 60.02 kB / 0.7753 GB, free: 11.11 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004095/0.3969, allocations: 44.34 kB / 0.7753 GB, free: 11.07 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004978/0.3974, allocations: 392 kB / 0.7757 GB, free: 10.65 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/0.3977, allocations: 0.7353 MB / 0.7764 GB, free: 9.887 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.812e-05/0.3977, allocations: 15.42 kB / 0.7764 GB, free: 9.871 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.3977, allocations: 0 / 0.7764 GB, free: 9.871 MB / 0.545 GB Notification: Performance of Templates: time 0.003367/0.4011, allocations: 2.161 MB / 0.7786 GB, free: 7.73 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.makefile (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe 2>&1)