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.001302/0.001302, allocations: 106.7 kB / 16.41 MB, free: 6.508 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.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.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.002101/0.002101, allocations: 298.6 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8894/0.8894, allocations: 169.2 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 103.8 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3876/0.3894, allocations: 86.96 MB / 0.767 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor): time 0.002561/0.392, allocations: 1.71 MB / 0.7687 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0006743/0.3927, allocations: 0.5037 MB / 0.7692 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.51e-05/0.3928, allocations: 4 kB / 0.7692 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003635/0.3931, allocations: 147.4 kB / 0.7693 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.401e-05/0.3932, allocations: 47.73 kB / 0.7694 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002348/0.3934, allocations: 75.73 kB / 0.7694 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.3936, allocations: 103.5 kB / 0.7695 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.423e-05/0.3936, allocations: 11.64 kB / 0.7696 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.683e-05/0.3937, allocations: 35.84 kB / 0.7696 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.18e-05/0.3938, allocations: 51.77 kB / 0.7696 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.3938, allocations: 0 / 0.7696 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000168/0.394, allocations: 87.84 kB / 0.7697 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.745e-05/0.3941, allocations: 59.8 kB / 0.7698 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.403e-05/0.3941, allocations: 63.55 kB / 0.7698 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002258/0.3943, allocations: 194 kB / 0.77 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.3944, allocations: 4 kB / 0.77 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3944, allocations: 0 / 0.77 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.3944, allocations: 0 / 0.77 GB, free: 0.7148 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.000499/0.3949, allocations: 478.2 kB / 0.7705 GB, free: 204 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 2.836e-05/0.3949, allocations: 8.031 kB / 0.7705 GB, free: 196 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.892e-05/0.395, allocations: 20.66 kB / 0.7705 GB, free: 176 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.3951, allocations: 219.6 kB / 0.7707 GB, free: 15.92 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.3951, allocations: 4.375 kB / 0.7707 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.3951, allocations: 12.31 kB / 0.7707 GB, free: 15.9 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.3953, allocations: 62.22 kB / 0.7708 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.3953, allocations: 3.938 kB / 0.7708 GB, free: 15.83 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.3954, allocations: 0 / 0.7708 GB, free: 15.83 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-06/0.3954, allocations: 0 / 0.7708 GB, free: 15.83 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001712/0.3955, allocations: 55.95 kB / 0.7709 GB, free: 15.78 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004088/0.396, allocations: 332.9 kB / 0.7712 GB, free: 15.4 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.3961, allocations: 66.42 kB / 0.7712 GB, free: 15.33 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.142e-05/0.3962, allocations: 32.89 kB / 0.7713 GB, free: 15.29 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.188e-05/0.3962, allocations: 15.94 kB / 0.7713 GB, free: 15.28 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.3963, allocations: 42.56 kB / 0.7713 GB, free: 15.23 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.3963, allocations: 0 / 0.7713 GB, free: 15.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003718/0.3967, allocations: 133.4 kB / 0.7715 GB, free: 15.09 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.3967, allocations: 55.39 kB / 0.7715 GB, free: 15.02 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002132/0.3969, allocations: 258.7 kB / 0.7718 GB, free: 14.77 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.3969, allocations: 25.7 kB / 0.7718 GB, free: 14.74 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.711e-05/0.397, allocations: 140.2 kB / 0.7719 GB, free: 14.6 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.571e-05/0.3971, allocations: 3.906 kB / 0.7719 GB, free: 14.59 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-05/0.3971, allocations: 9.719 kB / 0.7719 GB, free: 14.58 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.3972, allocations: 334.8 kB / 0.7722 GB, free: 14.24 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.897e-05/0.3973, allocations: 27.98 kB / 0.7723 GB, free: 14.21 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.074e-05/0.3974, allocations: 27.97 kB / 0.7723 GB, free: 14.19 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000165/0.3976, allocations: 68.88 kB / 0.7724 GB, free: 14.12 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.3976, allocations: 3.938 kB / 0.7724 GB, free: 14.11 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002192/0.3978, allocations: 109.4 kB / 0.7725 GB, free: 14 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.3978, allocations: 4 kB / 0.7725 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.3978, allocations: 0 / 0.7725 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.3979, allocations: 3.938 kB / 0.7725 GB, free: 13.99 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.21e-05/0.3979, allocations: 12.03 kB / 0.7725 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.398, allocations: 3.984 kB / 0.7725 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.533e-05/0.398, allocations: 11.94 kB / 0.7725 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.398, allocations: 0 / 0.7725 GB, free: 13.96 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.333e-05/0.3981, allocations: 140.2 kB / 0.7726 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.505e-05/0.3982, allocations: 19.81 kB / 0.7727 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002592/0.3984, allocations: 118.4 kB / 0.7728 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.3985, allocations: 0 / 0.7728 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3985, allocations: 0 / 0.7728 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.3985, allocations: 0 / 0.7728 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001963/0.3987, allocations: 217.6 kB / 0.773 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3987, allocations: 0 / 0.773 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.696e-05/0.3987, allocations: 15.92 kB / 0.773 GB, free: 13.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.3987, allocations: 0 / 0.773 GB, free: 13.4 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.3988, allocations: 0 / 0.773 GB, free: 13.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3988, allocations: 0 / 0.773 GB, free: 13.4 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3988, allocations: 0 / 0.773 GB, free: 13.4 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002549/0.399, allocations: 215.2 kB / 0.7732 GB, free: 13.17 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.641e-05/0.3991, allocations: 92.91 kB / 0.7733 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.3991, allocations: 0 / 0.7733 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.57e-05/0.3992, allocations: 7.984 kB / 0.7733 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.824e-05/0.3993, allocations: 0 / 0.7733 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.3993, allocations: 8.031 kB / 0.7733 GB, free: 13.05 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001473/0.3994, allocations: 193.9 kB / 0.7735 GB, free: 12.86 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3994, allocations: 0 / 0.7735 GB, free: 12.86 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002683/0.3997, allocations: 36 kB / 0.7735 GB, free: 12.82 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.0001916/0.3999, allocations: 125.7 kB / 0.7736 GB, free: 12.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002491/0.4001, allocations: 67.88 kB / 0.7737 GB, free: 12.63 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.4002, allocations: 4.062 kB / 0.7737 GB, free: 12.62 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.294e-05/0.4003, allocations: 27.98 kB / 0.7737 GB, free: 12.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004439/0.4007, allocations: 54.62 kB / 0.7738 GB, free: 12.55 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005437/0.4013, allocations: 372 kB / 0.7741 GB, free: 12.15 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.4015, allocations: 0.7313 MB / 0.7749 GB, free: 11.39 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.516e-05/0.4016, allocations: 11.44 kB / 0.7749 GB, free: 11.38 MB / 0.545 GB Notification: Performance of SimCode: time 1.9e-07/0.4016, allocations: 0 / 0.7749 GB, free: 11.38 MB / 0.545 GB Notification: Performance of Templates: time 0.003175/0.4048, allocations: 1.837 MB / 0.7767 GB, free: 9.559 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)