Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.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.wSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 110.2 kB / 16.41 MB, free: 6.023 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.001594/0.001594, allocations: 192.3 kB / 17.34 MB, free: 5.629 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.455/1.455, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002486/0.002486, allocations: 295.8 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.003/1.003, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002643/0.002643, allocations: 99.84 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4726/0.4753, allocations: 86.97 MB / 0.767 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor): time 0.002968/0.4782, allocations: 1.704 MB / 0.7687 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0007753/0.479, allocations: 0.5096 MB / 0.7692 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.754e-05/0.479, allocations: 0 / 0.7692 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003975/0.4794, allocations: 143.5 kB / 0.7693 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.902e-05/0.4795, allocations: 55.67 kB / 0.7694 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002697/0.4798, allocations: 63.8 kB / 0.7694 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001526/0.4799, allocations: 107.5 kB / 0.7696 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.23e-05/0.48, allocations: 4 kB / 0.7696 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.542e-05/0.4801, allocations: 35.78 kB / 0.7696 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.014e-05/0.4801, allocations: 47.83 kB / 0.7696 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.4802, allocations: 0 / 0.7696 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001775/0.4803, allocations: 91.83 kB / 0.7697 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.874e-05/0.4804, allocations: 55.81 kB / 0.7698 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.058e-05/0.4805, allocations: 67.55 kB / 0.7698 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002796/0.4808, allocations: 196.8 kB / 0.77 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.4808, allocations: 0 / 0.77 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.824e-06/0.4808, allocations: 7.938 kB / 0.77 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.4808, allocations: 0 / 0.77 GB, free: 0.7812 MB / 0.5294 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.0006272/0.4814, allocations: 494 kB / 0.7705 GB, free: 256 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.4814, allocations: 8.031 kB / 0.7705 GB, free: 248 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.213e-05/0.4815, allocations: 20.83 kB / 0.7705 GB, free: 228 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001972/0.4817, allocations: 216.1 kB / 0.7707 GB, free: 15.97 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.686e-06/0.4817, allocations: 4.359 kB / 0.7707 GB, free: 15.96 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.4817, allocations: 4.375 kB / 0.7707 GB, free: 15.96 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.4819, allocations: 66.23 kB / 0.7708 GB, free: 15.89 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.4819, allocations: 3.938 kB / 0.7708 GB, free: 15.89 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.4819, allocations: 4 kB / 0.7708 GB, free: 15.88 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.4819, allocations: 0 / 0.7708 GB, free: 15.88 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001873/0.4821, allocations: 55.95 kB / 0.7709 GB, free: 15.83 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004839/0.4826, allocations: 332.8 kB / 0.7712 GB, free: 15.45 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.4827, allocations: 66.48 kB / 0.7713 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.4828, allocations: 40.88 kB / 0.7713 GB, free: 15.34 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.61e-05/0.4829, allocations: 11.98 kB / 0.7713 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.4829, allocations: 34.56 kB / 0.7713 GB, free: 15.28 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.4829, allocations: 0 / 0.7713 GB, free: 15.28 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003975/0.4833, allocations: 137.5 kB / 0.7715 GB, free: 15.14 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.4833, allocations: 59.41 kB / 0.7715 GB, free: 15.07 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002724/0.4836, allocations: 254.7 kB / 0.7718 GB, free: 14.82 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.4836, allocations: 29.64 kB / 0.7718 GB, free: 14.79 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.72e-05/0.4837, allocations: 132.1 kB / 0.7719 GB, free: 14.65 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.581e-05/0.4838, allocations: 7.953 kB / 0.7719 GB, free: 14.64 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.36e-05/0.4838, allocations: 17.84 kB / 0.7719 GB, free: 14.62 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.4839, allocations: 334.8 kB / 0.7723 GB, free: 14.29 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.823e-05/0.484, allocations: 27.97 kB / 0.7723 GB, free: 14.26 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.728e-05/0.4841, allocations: 27.98 kB / 0.7723 GB, free: 14.23 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000179/0.4843, allocations: 60.88 kB / 0.7724 GB, free: 14.17 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.4843, allocations: 7.938 kB / 0.7724 GB, free: 14.16 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002291/0.4845, allocations: 113.4 kB / 0.7725 GB, free: 14.04 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.4846, allocations: 8 kB / 0.7725 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.4846, allocations: 0 / 0.7725 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.4846, allocations: 0 / 0.7725 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-05/0.4847, allocations: 7.984 kB / 0.7725 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.4847, allocations: 0 / 0.7725 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.376e-05/0.4847, allocations: 8.031 kB / 0.7725 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.433e-06/0.4847, allocations: 4 kB / 0.7725 GB, free: 14.02 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 0.0001186/0.4849, allocations: 137.8 kB / 0.7727 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.915e-05/0.4849, allocations: 19.86 kB / 0.7727 GB, free: 13.85 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000282/0.4852, allocations: 122.4 kB / 0.7728 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.4852, allocations: 0 / 0.7728 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.4852, allocations: 0 / 0.7728 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.4852, allocations: 4.031 kB / 0.7728 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002493/0.4854, allocations: 213.6 kB / 0.773 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.4854, allocations: 0 / 0.773 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.119e-05/0.4855, allocations: 11.98 kB / 0.773 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.4855, allocations: 0 / 0.773 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.4855, allocations: 4 kB / 0.773 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.4855, allocations: 0 / 0.773 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4855, allocations: 0 / 0.773 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002964/0.4858, allocations: 207.3 kB / 0.7732 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.177e-05/0.4859, allocations: 89.02 kB / 0.7733 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/0.4859, allocations: 8 kB / 0.7733 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.422e-05/0.486, allocations: 11.92 kB / 0.7733 GB, free: 13.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.487e-05/0.486, allocations: 4 kB / 0.7733 GB, free: 13.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.486, allocations: 0 / 0.7733 GB, free: 13.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000175/0.4862, allocations: 189.9 kB / 0.7735 GB, free: 12.91 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.4862, allocations: 4.031 kB / 0.7735 GB, free: 12.91 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000266/0.4865, allocations: 39.88 kB / 0.7735 GB, free: 12.87 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 (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 Backend phase and start with SimCode phase: time 0.0001981/0.4867, allocations: 127.2 kB / 0.7737 GB, free: 12.74 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000241/0.4869, allocations: 59.95 kB / 0.7737 GB, free: 12.68 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.4869, allocations: 0 / 0.7737 GB, free: 12.68 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.962e-05/0.487, allocations: 39.97 kB / 0.7738 GB, free: 12.64 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004299/0.4874, allocations: 40.41 kB / 0.7738 GB, free: 12.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005757/0.488, allocations: 346 kB / 0.7741 GB, free: 12.23 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/0.4884, allocations: 0.7314 MB / 0.7748 GB, free: 11.48 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.909e-05/0.4884, allocations: 7.75 kB / 0.7748 GB, free: 11.47 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.504e-05/0.4885, allocations: 11.44 kB / 0.7749 GB, free: 11.46 MB / 0.545 GB Notification: Performance of SimCode: time 3.71e-07/0.4885, allocations: 0 / 0.7749 GB, free: 11.46 MB / 0.545 GB Notification: Performance of Templates: time 0.005243/0.4937, allocations: 1.816 MB / 0.7766 GB, free: 9.68 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.makefile (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe 2>&1)