Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.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.phiSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.063/1.063, allocations: 141.8 MB / 149.3 MB, free: 9.227 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.001071/0.001071, allocations: 175.8 kB / 182.2 MB, free: 9.469 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.402/1.402, 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.0008533/0.0008533, allocations: 96.05 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001724/0.001724, allocations: 269.3 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.548e-05/1.551e-05, allocations: 4 kB / 0.6765 GB, free: 12.83 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4556/0.4556, allocations: 82.78 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1484/0.604, allocations: 110 MB / 0.8647 GB, free: 1.918 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002522/0.6043, allocations: 79.83 kB / 0.8648 GB, free: 1.844 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.0118/0.6161, allocations: 4.847 MB / 0.8696 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.282e-06/0.6162, allocations: 0 / 0.8696 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.347e-06/0.6162, allocations: 4 kB / 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.0004389/0.6166, allocations: 438 kB / 0.87 GB, free: 12.44 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.6167, allocations: 12.03 kB / 0.87 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.713e-05/0.6168, allocations: 23.66 kB / 0.87 GB, free: 12.4 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/0.6169, allocations: 202.6 kB / 0.8702 GB, free: 12.17 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.6169, allocations: 3.984 kB / 0.8702 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.197e-06/0.617, allocations: 0 / 0.8702 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001118/0.6171, allocations: 43.97 kB / 0.8702 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.353e-05/0.6172, allocations: 53.67 kB / 0.8703 GB, free: 12.06 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.6172, allocations: 0 / 0.8703 GB, free: 12.06 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.6172, allocations: 0 / 0.8703 GB, free: 12.06 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.6172, allocations: 4 kB / 0.8703 GB, free: 12.06 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004825/0.6177, allocations: 321.3 kB / 0.8706 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 9.573e-05/0.6178, allocations: 58.55 kB / 0.8707 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.115e-05/0.6179, allocations: 24.91 kB / 0.8707 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.251e-05/0.6179, allocations: 12 kB / 0.8707 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.6179, allocations: 38.55 kB / 0.8707 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.618, allocations: 0 / 0.8707 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0002458/0.6182, allocations: 97.33 kB / 0.8708 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.697e-05/0.6182, allocations: 51.41 kB / 0.8709 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002024/0.6185, allocations: 214.3 kB / 0.8711 GB, free: 11.17 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.6185, allocations: 25.7 kB / 0.8711 GB, free: 11.14 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 9.728e-05/0.6186, allocations: 136.1 kB / 0.8712 GB, free: 11 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/0.6186, allocations: 11.91 kB / 0.8712 GB, free: 10.99 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.1e-06/0.6186, allocations: 0 / 0.8712 GB, free: 10.99 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.6187, allocations: 338.8 kB / 0.8716 GB, free: 10.65 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.518e-05/0.6188, allocations: 19.98 kB / 0.8716 GB, free: 10.63 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.099e-05/0.6188, allocations: 19.98 kB / 0.8716 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.805e-05/0.6189, allocations: 19.98 kB / 0.8716 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.6189, allocations: 0 / 0.8716 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001482/0.6191, allocations: 93.47 kB / 0.8717 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.6191, allocations: 8.094 kB / 0.8717 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.6191, allocations: 3.938 kB / 0.8717 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.6191, allocations: 0 / 0.8717 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.619e-05/0.6192, allocations: 15.98 kB / 0.8717 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.6192, allocations: 4.641 kB / 0.8717 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.903e-05/0.6193, allocations: 4 kB / 0.8718 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.956e-05/0.6193, allocations: 4 kB / 0.8718 GB, free: 10.45 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 0.0001009/0.6194, allocations: 112.9 kB / 0.8719 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.424e-05/0.6195, allocations: 19.72 kB / 0.8719 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002158/0.6197, allocations: 110.8 kB / 0.872 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.6197, allocations: 0 / 0.872 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.6197, allocations: 0 / 0.872 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.6197, allocations: 0 / 0.872 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002018/0.6199, allocations: 194.1 kB / 0.8722 GB, free: 9.973 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.6199, allocations: 3.938 kB / 0.8722 GB, free: 9.969 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.36e-05/0.62, allocations: 20.02 kB / 0.8722 GB, free: 9.949 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.62, allocations: 0 / 0.8722 GB, free: 9.949 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.62, allocations: 0 / 0.8722 GB, free: 9.949 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.62, allocations: 0 / 0.8722 GB, free: 9.949 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.6201, allocations: 0 / 0.8722 GB, free: 9.949 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001852/0.6202, allocations: 191.3 kB / 0.8724 GB, free: 9.746 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.322e-05/0.6203, allocations: 100.8 kB / 0.8725 GB, free: 9.629 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.368e-05/0.6203, allocations: 0 / 0.8725 GB, free: 9.629 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.793e-05/0.6204, allocations: 12.02 kB / 0.8725 GB, free: 9.617 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.28e-05/0.6205, allocations: 4 kB / 0.8725 GB, free: 9.613 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.6205, allocations: 0 / 0.8725 GB, free: 9.613 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001517/0.6207, allocations: 178 kB / 0.8727 GB, free: 9.441 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6207, allocations: 4 kB / 0.8727 GB, free: 9.438 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000263/0.6209, allocations: 35.94 kB / 0.8727 GB, free: 9.402 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.0002506/0.6212, allocations: 163.8 kB / 0.8729 GB, free: 9.234 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 9.716e-05/0.6213, allocations: 35.98 kB / 0.8729 GB, free: 9.199 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.6213, allocations: 3.938 kB / 0.8729 GB, free: 9.195 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.301e-05/0.6213, allocations: 23.98 kB / 0.8729 GB, free: 9.172 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.6217, allocations: 44.58 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.000383/0.6221, allocations: 209.3 kB / 0.8732 GB, free: 8.902 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.6224, allocations: 0.7391 MB / 0.8739 GB, free: 8.137 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.544e-05/0.6225, allocations: 12.88 kB / 0.8739 GB, free: 8.121 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.155e-05/0.6225, allocations: 11.44 kB / 0.8739 GB, free: 8.109 MB / 0.5417 GB Notification: Performance of SimCode: time 2.41e-07/0.6225, allocations: 0 / 0.8739 GB, free: 8.109 MB / 0.5417 GB Notification: Performance of Templates: time 0.004204/0.6267, allocations: 1.663 MB / 0.8755 GB, free: 6.473 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.makefile (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe 2>&1)