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.005059/0.005059, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.001132/0.001132, allocations: 193.4 kB / 16.67 MB, free: 5.969 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.299/1.299, allocations: 222.9 MB / 240.4 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.002141/0.002141, allocations: 291.1 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.9306/0.9306, allocations: 169.3 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001716/0.001716, allocations: 91.84 kB / 0.6814 GB, free: 7 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4799/0.4817, allocations: 86.98 MB / 0.7664 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi): time 0.002763/0.4845, allocations: 1.7 MB / 0.768 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001453/0.4859, allocations: 1.11 MB / 0.7691 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.6e-05/0.486, allocations: 8 kB / 0.7691 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003899/0.4864, allocations: 147.5 kB / 0.7693 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.369e-05/0.4865, allocations: 55.67 kB / 0.7693 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003942/0.4869, allocations: 151.5 kB / 0.7695 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.487, allocations: 111.5 kB / 0.7696 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.542e-05/0.4871, allocations: 7.984 kB / 0.7696 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.132e-05/0.4871, allocations: 43.72 kB / 0.7696 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.875e-05/0.4872, allocations: 59.75 kB / 0.7697 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.4873, allocations: 4 kB / 0.7697 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003798/0.4877, allocations: 231.6 kB / 0.7699 GB, free: 304 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.028e-05/0.4877, allocations: 63.78 kB / 0.77 GB, free: 240 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.083e-05/0.4878, allocations: 59.56 kB / 0.77 GB, free: 180 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00041/0.4882, allocations: 312.5 kB / 0.7703 GB, free: 15.88 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.4882, allocations: 0 / 0.7703 GB, free: 15.88 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4883, allocations: 0 / 0.7703 GB, free: 15.88 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.548e-06/0.4883, allocations: 0 / 0.7703 GB, free: 15.88 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.0006185/0.4889, allocations: 0.5057 MB / 0.7708 GB, free: 15.32 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.4889, allocations: 8.031 kB / 0.7708 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.642e-05/0.489, allocations: 28.8 kB / 0.7708 GB, free: 15.29 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/0.4892, allocations: 211.9 kB / 0.771 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.4892, allocations: 4.375 kB / 0.771 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.4892, allocations: 4.312 kB / 0.7711 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/0.4894, allocations: 89.77 kB / 0.7711 GB, free: 14.94 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.4894, allocations: 0 / 0.7711 GB, free: 14.94 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.4894, allocations: 4 kB / 0.7711 GB, free: 14.94 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.4894, allocations: 3.938 kB / 0.7711 GB, free: 14.93 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000223/0.4897, allocations: 95.94 kB / 0.7712 GB, free: 14.84 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004935/0.4902, allocations: 376.8 kB / 0.7716 GB, free: 14.42 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/0.4904, allocations: 106.5 kB / 0.7717 GB, free: 14.31 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.4905, allocations: 56.88 kB / 0.7718 GB, free: 14.25 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.213e-05/0.4906, allocations: 27.98 kB / 0.7718 GB, free: 14.22 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.4906, allocations: 30.56 kB / 0.7718 GB, free: 14.18 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.4906, allocations: 0 / 0.7718 GB, free: 14.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0004333/0.491, allocations: 189.5 kB / 0.772 GB, free: 13.99 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/0.4911, allocations: 55.39 kB / 0.772 GB, free: 13.93 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002336/0.4913, allocations: 262.8 kB / 0.7723 GB, free: 13.67 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.4913, allocations: 25.7 kB / 0.7723 GB, free: 13.64 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.23e-05/0.4914, allocations: 136.1 kB / 0.7724 GB, free: 13.5 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.631e-05/0.4915, allocations: 7.953 kB / 0.7725 GB, free: 13.49 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-05/0.4915, allocations: 13.72 kB / 0.7725 GB, free: 13.47 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.4916, allocations: 338.8 kB / 0.7728 GB, free: 13.13 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.4917, allocations: 47.97 kB / 0.7728 GB, free: 13.09 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.4919, allocations: 47.97 kB / 0.7729 GB, free: 13.04 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002021/0.4921, allocations: 100.8 kB / 0.773 GB, free: 12.94 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4921, allocations: 0 / 0.773 GB, free: 12.94 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002621/0.4923, allocations: 145.5 kB / 0.7731 GB, free: 12.79 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.4924, allocations: 4 kB / 0.7731 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.4924, allocations: 8.031 kB / 0.7731 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.4924, allocations: 0 / 0.7731 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.882e-05/0.4925, allocations: 15.92 kB / 0.7731 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.4925, allocations: 0 / 0.7731 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.57e-05/0.4926, allocations: 7.984 kB / 0.7731 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.4926, allocations: 0 / 0.7731 GB, free: 12.75 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.857e-05/0.4927, allocations: 140.2 kB / 0.7733 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.154e-05/0.4927, allocations: 19.89 kB / 0.7733 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003264/0.4931, allocations: 162.5 kB / 0.7735 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.4931, allocations: 0 / 0.7735 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4931, allocations: 0 / 0.7735 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.4931, allocations: 0 / 0.7735 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000249/0.4934, allocations: 253.5 kB / 0.7737 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.4934, allocations: 4 kB / 0.7737 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.323e-05/0.4934, allocations: 19.86 kB / 0.7737 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.4934, allocations: 0 / 0.7737 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.4935, allocations: 4 kB / 0.7737 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.4935, allocations: 0 / 0.7737 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.4935, allocations: 0 / 0.7737 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003033/0.4938, allocations: 251.4 kB / 0.774 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.02e-05/0.4938, allocations: 96.91 kB / 0.7741 GB, free: 11.72 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/0.4939, allocations: 0 / 0.7741 GB, free: 11.72 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.615e-05/0.494, allocations: 11.98 kB / 0.7741 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.632e-05/0.494, allocations: 4 kB / 0.7741 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.494, allocations: 4 kB / 0.7741 GB, free: 11.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001661/0.4942, allocations: 193.9 kB / 0.7743 GB, free: 11.52 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4942, allocations: 0 / 0.7743 GB, free: 11.52 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003066/0.4945, allocations: 67.8 kB / 0.7743 GB, free: 11.45 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.0002772/0.4948, allocations: 174.9 kB / 0.7745 GB, free: 11.27 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002805/0.4951, allocations: 103.9 kB / 0.7746 GB, free: 11.17 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4951, allocations: 0 / 0.7746 GB, free: 11.17 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.4952, allocations: 55.95 kB / 0.7746 GB, free: 11.11 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004426/0.4957, allocations: 53.27 kB / 0.7747 GB, free: 11.06 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005375/0.4962, allocations: 362.1 kB / 0.775 GB, free: 10.68 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.4965, allocations: 0.7314 MB / 0.7758 GB, free: 9.922 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.172e-05/0.4966, allocations: 11.75 kB / 0.7758 GB, free: 9.91 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.658e-05/0.4966, allocations: 11.44 kB / 0.7758 GB, free: 9.898 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.4966, allocations: 0 / 0.7758 GB, free: 9.898 MB / 0.545 GB Notification: Performance of Templates: time 0.005244/0.5019, allocations: 2.351 MB / 0.7781 GB, free: 7.586 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)