Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.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.dPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007473/0.007473, allocations: 109.6 kB / 15.71 MB, free: 6.043 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.001538/0.001538, allocations: 188.5 kB / 16.64 MB, free: 5.977 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.315/1.315, allocations: 222.9 MB / 240.3 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.002148/0.002148, allocations: 296 kB / 290.8 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.9209/0.9209, allocations: 169.2 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0017/0.0017, allocations: 99.83 kB / 0.6814 GB, free: 7.02 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4859/0.4876, allocations: 86.97 MB / 0.7663 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi): time 0.002776/0.4905, allocations: 1.716 MB / 0.768 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001575/0.4921, allocations: 1.102 MB / 0.7691 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.613e-05/0.4921, allocations: 4 kB / 0.7691 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000395/0.4925, allocations: 151.4 kB / 0.7692 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.649e-05/0.4926, allocations: 51.69 kB / 0.7693 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004409/0.4931, allocations: 163.5 kB / 0.7694 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.4932, allocations: 107.5 kB / 0.7695 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.422e-05/0.4933, allocations: 11.66 kB / 0.7695 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.21e-05/0.4934, allocations: 39.78 kB / 0.7696 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.094e-05/0.4935, allocations: 55.75 kB / 0.7696 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.4935, allocations: 4 kB / 0.7696 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003599/0.4938, allocations: 227.6 kB / 0.7698 GB, free: 320 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.842e-05/0.4939, allocations: 59.8 kB / 0.7699 GB, free: 260 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.615e-05/0.494, allocations: 59.56 kB / 0.77 GB, free: 200 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004092/0.4944, allocations: 309.7 kB / 0.7703 GB, free: 15.89 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.4945, allocations: 0 / 0.7703 GB, free: 15.89 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.964e-06/0.4945, allocations: 0 / 0.7703 GB, free: 15.89 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.4945, allocations: 0 / 0.7703 GB, free: 15.89 MB / 0.545 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.0006251/0.4951, allocations: 0.4981 MB / 0.7707 GB, free: 15.35 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.4952, allocations: 8.031 kB / 0.7707 GB, free: 15.34 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.591e-05/0.4952, allocations: 24.73 kB / 0.7708 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.4954, allocations: 215.6 kB / 0.771 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.4954, allocations: 8.375 kB / 0.771 GB, free: 15.06 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.939e-06/0.4954, allocations: 4.375 kB / 0.771 GB, free: 15.05 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002049/0.4956, allocations: 85.78 kB / 0.7711 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.4956, allocations: 7.938 kB / 0.7711 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.4956, allocations: 0 / 0.7711 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.4957, allocations: 0 / 0.7711 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002122/0.4959, allocations: 95.92 kB / 0.7712 GB, free: 14.86 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005879/0.4965, allocations: 388.7 kB / 0.7715 GB, free: 14.43 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/0.4967, allocations: 102.5 kB / 0.7716 GB, free: 14.32 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.4968, allocations: 52.89 kB / 0.7717 GB, free: 14.27 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.478e-05/0.4968, allocations: 23.98 kB / 0.7717 GB, free: 14.25 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.4969, allocations: 30.56 kB / 0.7717 GB, free: 14.21 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.4969, allocations: 4 kB / 0.7717 GB, free: 14.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0004517/0.4973, allocations: 197.2 kB / 0.7719 GB, free: 14 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.4974, allocations: 51.41 kB / 0.772 GB, free: 13.94 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000247/0.4976, allocations: 258.7 kB / 0.7722 GB, free: 13.69 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.4977, allocations: 25.7 kB / 0.7723 GB, free: 13.66 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.932e-05/0.4978, allocations: 136.2 kB / 0.7724 GB, free: 13.52 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-05/0.4978, allocations: 11.91 kB / 0.7724 GB, free: 13.51 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-05/0.4978, allocations: 13.72 kB / 0.7724 GB, free: 13.49 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.498, allocations: 338.8 kB / 0.7727 GB, free: 13.15 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.4981, allocations: 47.97 kB / 0.7728 GB, free: 13.1 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.893e-05/0.4982, allocations: 43.97 kB / 0.7728 GB, free: 13.06 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002137/0.4984, allocations: 104.9 kB / 0.7729 GB, free: 12.95 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.4984, allocations: 0 / 0.7729 GB, free: 12.95 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002557/0.4987, allocations: 145.4 kB / 0.7731 GB, free: 12.8 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.4987, allocations: 6.5 kB / 0.7731 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.4987, allocations: 0 / 0.7731 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.4987, allocations: 3.938 kB / 0.7731 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.4988, allocations: 11.98 kB / 0.7731 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.4989, allocations: 4.031 kB / 0.7731 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.805e-05/0.4989, allocations: 7.984 kB / 0.7731 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-06/0.4989, allocations: 0 / 0.7731 GB, free: 12.77 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.0001066/0.4991, allocations: 140.2 kB / 0.7732 GB, free: 12.63 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.521e-05/0.4991, allocations: 19.72 kB / 0.7732 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003387/0.4994, allocations: 162.5 kB / 0.7734 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.4995, allocations: 7.938 kB / 0.7734 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.4995, allocations: 0 / 0.7734 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.4995, allocations: 4 kB / 0.7734 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002325/0.4997, allocations: 241.5 kB / 0.7736 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4997, allocations: 4 kB / 0.7736 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.263e-05/0.4998, allocations: 8 kB / 0.7736 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.4998, allocations: 0 / 0.7736 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/0.4998, allocations: 0 / 0.7736 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.4998, allocations: 3.984 kB / 0.7737 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.4998, allocations: 3.938 kB / 0.7737 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002997/0.5001, allocations: 259.2 kB / 0.7739 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.17e-05/0.5002, allocations: 88.92 kB / 0.774 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.5002, allocations: 0 / 0.774 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.658e-05/0.5003, allocations: 11.98 kB / 0.774 GB, free: 11.74 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.086e-05/0.5004, allocations: 4 kB / 0.774 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.5004, allocations: 0 / 0.774 GB, free: 11.73 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000173/0.5006, allocations: 201.9 kB / 0.7742 GB, free: 11.54 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5006, allocations: 0 / 0.7742 GB, free: 11.54 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000324/0.5009, allocations: 71.94 kB / 0.7743 GB, free: 11.47 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 (3): * Single equations (assignments): 3 * 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.0002797/0.5012, allocations: 167.1 kB / 0.7744 GB, free: 11.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002829/0.5015, allocations: 99.92 kB / 0.7745 GB, free: 11.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.5015, allocations: 4 kB / 0.7745 GB, free: 11.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.5016, allocations: 52.03 kB / 0.7746 GB, free: 11.14 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004577/0.5021, allocations: 52.38 kB / 0.7746 GB, free: 11.09 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006136/0.5027, allocations: 366.3 kB / 0.775 GB, free: 10.71 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000356/0.5031, allocations: 0.7353 MB / 0.7757 GB, free: 9.945 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.533e-05/0.5031, allocations: 11.75 kB / 0.7757 GB, free: 9.934 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.634e-05/0.5031, allocations: 11.44 kB / 0.7757 GB, free: 9.922 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.5032, allocations: 0 / 0.7757 GB, free: 9.922 MB / 0.545 GB Notification: Performance of Templates: time 0.005556/0.5087, allocations: 2.347 MB / 0.778 GB, free: 7.613 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.makefile (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe 2>&1)