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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8167/0.8167, allocations: 141.8 MB / 149.3 MB, free: 9.242 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001635/0.001635, allocations: 179.6 kB / 182.2 MB, free: 9.477 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.555/1.555, allocations: 221.5 MB / 436.4 MB, free: 13.33 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008925/0.0008926, allocations: 88.11 kB / 0.5074 GB, free: 10.17 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00179/0.001791, allocations: 288.8 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.724e-05/1.718e-05, allocations: 4 kB / 0.6765 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.39/0.3901, allocations: 82.77 MB / 0.7574 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1467/0.5368, allocations: 110 MB / 0.8647 GB, free: 1.914 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/0.5371, allocations: 79.83 kB / 0.8648 GB, free: 1.84 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01186/0.549, allocations: 4.846 MB / 0.8696 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.273e-06/0.549, allocations: 0 / 0.8696 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.549, allocations: 0 / 0.8696 GB, free: 12.91 MB / 0.5417 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.0004182/0.5494, allocations: 434 kB / 0.87 GB, free: 12.44 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.5495, allocations: 11.97 kB / 0.87 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.337e-05/0.5495, allocations: 23.66 kB / 0.87 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.5497, allocations: 206.6 kB / 0.8702 GB, free: 12.17 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.5497, allocations: 4 kB / 0.8702 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/0.5498, allocations: 3.984 kB / 0.8702 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001116/0.5499, allocations: 47.95 kB / 0.8703 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.782e-05/0.55, allocations: 57.67 kB / 0.8703 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.55, allocations: 3.938 kB / 0.8703 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.55, allocations: 0 / 0.8703 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.55, allocations: 0 / 0.8703 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004894/0.5505, allocations: 317.4 kB / 0.8706 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 9.308e-05/0.5506, allocations: 62.48 kB / 0.8707 GB, free: 11.63 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.323e-05/0.5507, allocations: 28.91 kB / 0.8707 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.46e-05/0.5507, allocations: 11.97 kB / 0.8707 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.5508, allocations: 34.56 kB / 0.8707 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.5508, allocations: 0 / 0.8707 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.000235/0.551, allocations: 93.38 kB / 0.8708 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.418e-05/0.551, allocations: 51.41 kB / 0.8709 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001996/0.5512, allocations: 218.4 kB / 0.8711 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.5513, allocations: 25.7 kB / 0.8711 GB, free: 11.12 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 9.47e-05/0.5514, allocations: 136.1 kB / 0.8712 GB, free: 10.99 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.808e-05/0.5514, allocations: 11.83 kB / 0.8713 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.099e-06/0.5514, allocations: 0 / 0.8713 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.5515, allocations: 334.8 kB / 0.8716 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.341e-05/0.5516, allocations: 15.98 kB / 0.8716 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.521e-05/0.5516, allocations: 23.98 kB / 0.8716 GB, free: 10.6 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.144e-05/0.5517, allocations: 28.03 kB / 0.8716 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.5517, allocations: 0 / 0.8716 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001365/0.5518, allocations: 89.48 kB / 0.8717 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.5519, allocations: 9.406 kB / 0.8717 GB, free: 10.47 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.5519, allocations: 0 / 0.8717 GB, free: 10.47 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.5519, allocations: 0 / 0.8717 GB, free: 10.47 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.962e-05/0.552, allocations: 11.98 kB / 0.8717 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.552, allocations: 0 / 0.8717 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.937e-05/0.5521, allocations: 16.02 kB / 0.8718 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.975e-05/0.5521, allocations: 4 kB / 0.8718 GB, free: 10.44 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.929e-05/0.5522, allocations: 104.9 kB / 0.8719 GB, free: 10.33 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.362e-05/0.5523, allocations: 19.72 kB / 0.8719 GB, free: 10.31 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002051/0.5525, allocations: 110.8 kB / 0.872 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.5525, allocations: 0 / 0.872 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.5525, allocations: 0 / 0.872 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.5525, allocations: 0 / 0.872 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000196/0.5527, allocations: 206.1 kB / 0.8722 GB, free: 9.957 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.5527, allocations: 7.875 kB / 0.8722 GB, free: 9.949 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.78e-05/0.5528, allocations: 8 kB / 0.8722 GB, free: 9.941 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.5528, allocations: 3.984 kB / 0.8722 GB, free: 9.938 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.5528, allocations: 4 kB / 0.8722 GB, free: 9.934 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.5528, allocations: 0 / 0.8722 GB, free: 9.934 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.5528, allocations: 0 / 0.8722 GB, free: 9.934 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001798/0.553, allocations: 191.3 kB / 0.8724 GB, free: 9.73 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.541e-05/0.5531, allocations: 96.78 kB / 0.8725 GB, free: 9.617 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.5531, allocations: 0 / 0.8725 GB, free: 9.617 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.968e-05/0.5532, allocations: 8 kB / 0.8725 GB, free: 9.609 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.535e-05/0.5532, allocations: 3.984 kB / 0.8725 GB, free: 9.605 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.5533, allocations: 4 kB / 0.8725 GB, free: 9.602 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001457/0.5534, allocations: 174 kB / 0.8727 GB, free: 9.434 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5534, allocations: 0 / 0.8727 GB, free: 9.434 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002711/0.5537, allocations: 51.95 kB / 0.8727 GB, free: 9.383 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002484/0.554, allocations: 147.2 kB / 0.8729 GB, free: 9.23 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001083/0.5541, allocations: 39.98 kB / 0.8729 GB, free: 9.191 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.5541, allocations: 4.062 kB / 0.8729 GB, free: 9.188 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.354e-05/0.5541, allocations: 19.94 kB / 0.8729 GB, free: 9.168 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003491/0.5545, allocations: 43.64 kB / 0.873 GB, free: 9.129 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004229/0.5549, allocations: 213.2 kB / 0.8732 GB, free: 8.898 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.5552, allocations: 0.7509 MB / 0.8739 GB, free: 8.121 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.212e-05/0.5553, allocations: 8.172 kB / 0.8739 GB, free: 8.109 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.804e-05/0.5553, allocations: 7.438 kB / 0.8739 GB, free: 8.102 MB / 0.5417 GB Notification: Performance of SimCode: time 2.3e-07/0.5553, allocations: 0 / 0.8739 GB, free: 8.102 MB / 0.5417 GB Notification: Performance of Templates: time 0.004143/0.5595, allocations: 1.649 MB / 0.8755 GB, free: 6.473 MB / 0.5417 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe 2>&1)