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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 108.8 kB / 16.41 MB, free: 6.492 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.00128/0.00128, allocations: 185.5 kB / 17.34 MB, free: 5.742 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.244/1.244, 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.002038/0.002038, allocations: 291.4 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 0.8669/0.8669, allocations: 169.2 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001706/0.001706, allocations: 100.1 kB / 0.6821 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3942/0.3959, allocations: 86.97 MB / 0.767 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor): time 0.002654/0.3986, allocations: 1.706 MB / 0.7687 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0007092/0.3994, allocations: 0.5193 MB / 0.7692 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.767e-05/0.3994, allocations: 0 / 0.7692 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003798/0.3998, allocations: 143.4 kB / 0.7693 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.102e-05/0.3999, allocations: 51.73 kB / 0.7694 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000271/0.4002, allocations: 67.78 kB / 0.7694 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000136/0.4003, allocations: 103.4 kB / 0.7695 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.322e-05/0.4004, allocations: 11.64 kB / 0.7696 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.434e-05/0.4005, allocations: 39.84 kB / 0.7696 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.037e-05/0.4006, allocations: 55.75 kB / 0.7696 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.4006, allocations: 4 kB / 0.7696 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001846/0.4008, allocations: 83.84 kB / 0.7697 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.649e-05/0.4009, allocations: 63.8 kB / 0.7698 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.879e-05/0.4009, allocations: 59.56 kB / 0.7698 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002477/0.4012, allocations: 186 kB / 0.77 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.4012, allocations: 0 / 0.77 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4012, allocations: 0 / 0.77 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.658e-06/0.4012, allocations: 0 / 0.77 GB, free: 0.8633 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.0005766/0.4018, allocations: 486.2 kB / 0.7705 GB, free: 348 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.4018, allocations: 12.03 kB / 0.7705 GB, free: 336 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.035e-05/0.4019, allocations: 24.59 kB / 0.7705 GB, free: 312 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.4021, allocations: 219.7 kB / 0.7707 GB, free: 52 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.4021, allocations: 384 / 0.7707 GB, free: 52 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.4021, allocations: 4.312 kB / 0.7707 GB, free: 48 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.4023, allocations: 62.23 kB / 0.7708 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.4023, allocations: 3.938 kB / 0.7708 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.4023, allocations: 0 / 0.7708 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.4023, allocations: 4 kB / 0.7708 GB, free: 15.97 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001827/0.4025, allocations: 63.89 kB / 0.7709 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004687/0.403, allocations: 324.9 kB / 0.7712 GB, free: 15.54 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.4031, allocations: 70.42 kB / 0.7712 GB, free: 15.46 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.209e-05/0.4032, allocations: 36.91 kB / 0.7713 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.16e-05/0.4033, allocations: 15.98 kB / 0.7713 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.4033, allocations: 34.56 kB / 0.7713 GB, free: 15.37 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.4033, allocations: 0 / 0.7713 GB, free: 15.37 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003702/0.4037, allocations: 129.4 kB / 0.7714 GB, free: 15.23 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.411e-05/0.4037, allocations: 55.53 kB / 0.7715 GB, free: 15.17 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002209/0.404, allocations: 262.6 kB / 0.7718 GB, free: 14.91 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.404, allocations: 25.7 kB / 0.7718 GB, free: 14.88 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.541e-05/0.4041, allocations: 132.1 kB / 0.7719 GB, free: 14.75 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.545e-05/0.4041, allocations: 3.906 kB / 0.7719 GB, free: 14.74 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.263e-05/0.4041, allocations: 17.7 kB / 0.7719 GB, free: 14.72 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.4042, allocations: 326.8 kB / 0.7722 GB, free: 14.39 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.15e-05/0.4043, allocations: 35.97 kB / 0.7723 GB, free: 14.36 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.173e-05/0.4044, allocations: 27.98 kB / 0.7723 GB, free: 14.33 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/0.4046, allocations: 64.8 kB / 0.7724 GB, free: 14.26 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.4046, allocations: 3.938 kB / 0.7724 GB, free: 14.26 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002192/0.4048, allocations: 105.5 kB / 0.7725 GB, free: 14.15 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.4049, allocations: 8 kB / 0.7725 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.4049, allocations: 0 / 0.7725 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.4049, allocations: 4 kB / 0.7725 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.3e-05/0.405, allocations: 11.92 kB / 0.7725 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.405, allocations: 0 / 0.7725 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.594e-05/0.405, allocations: 11.92 kB / 0.7725 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-06/0.4051, allocations: 4 kB / 0.7725 GB, free: 14.11 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.0001001/0.4052, allocations: 133.8 kB / 0.7726 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.027e-05/0.4052, allocations: 23.75 kB / 0.7726 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002512/0.4055, allocations: 114.5 kB / 0.7728 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.4055, allocations: 4 kB / 0.7728 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/0.4055, allocations: 4 kB / 0.7728 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.4055, allocations: 0 / 0.7728 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002096/0.4057, allocations: 221.5 kB / 0.773 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.4057, allocations: 0 / 0.773 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.551e-05/0.4058, allocations: 4 kB / 0.773 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.4058, allocations: 7.969 kB / 0.773 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.4058, allocations: 4 kB / 0.773 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.4058, allocations: 3.984 kB / 0.773 GB, free: 13.53 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4058, allocations: 0 / 0.773 GB, free: 13.53 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002636/0.4061, allocations: 207.2 kB / 0.7732 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.958e-05/0.4061, allocations: 88.95 kB / 0.7733 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/0.4062, allocations: 11.92 kB / 0.7733 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.126e-05/0.4063, allocations: 4 kB / 0.7733 GB, free: 13.19 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.296e-05/0.4063, allocations: 4 kB / 0.7733 GB, free: 13.19 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.4063, allocations: 0 / 0.7733 GB, free: 13.19 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001571/0.4065, allocations: 189.9 kB / 0.7735 GB, free: 13 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4065, allocations: 0 / 0.7735 GB, free: 13 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002533/0.4067, allocations: 36 kB / 0.7735 GB, free: 12.97 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.0001834/0.4069, allocations: 131.2 kB / 0.7736 GB, free: 12.83 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002257/0.4072, allocations: 63.89 kB / 0.7737 GB, free: 12.77 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.4072, allocations: 0 / 0.7737 GB, free: 12.77 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.02e-05/0.4073, allocations: 31.97 kB / 0.7737 GB, free: 12.74 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004365/0.4077, allocations: 52.47 kB / 0.7738 GB, free: 12.69 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005375/0.4083, allocations: 371.9 kB / 0.7741 GB, free: 12.29 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002855/0.4086, allocations: 0.7314 MB / 0.7748 GB, free: 11.53 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.666e-05/0.4086, allocations: 15.44 kB / 0.7749 GB, free: 11.52 MB / 0.545 GB Notification: Performance of SimCode: time 4.81e-07/0.4086, allocations: 0 / 0.7749 GB, free: 11.52 MB / 0.545 GB Notification: Performance of Templates: time 0.003444/0.412, allocations: 1.861 MB / 0.7767 GB, free: 9.676 MB / 0.545 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)