Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.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.wDerPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001197, allocations: 107.7 kB / 16.41 MB, free: 6.484 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.001169/0.001169, allocations: 187 kB / 17.34 MB, free: 5.734 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.229/1.229, 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.001985/0.001985, allocations: 288.5 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.8905/0.8905, allocations: 169.3 MB / 0.499 GB, free: 4.402 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001703/0.001703, allocations: 95.86 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4099/0.4116, allocations: 86.98 MB / 0.767 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi): time 0.002823/0.4145, allocations: 1.712 MB / 0.7687 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001389/0.4159, allocations: 0.985 MB / 0.7697 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.93e-05/0.416, allocations: 4 kB / 0.7697 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004137/0.4164, allocations: 151.4 kB / 0.7698 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001055/0.4165, allocations: 59.67 kB / 0.7699 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003372/0.4169, allocations: 107.6 kB / 0.77 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.417, allocations: 99.5 kB / 0.7701 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.311e-05/0.4171, allocations: 11.66 kB / 0.7701 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.308e-05/0.4172, allocations: 35.84 kB / 0.7701 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.74e-05/0.4173, allocations: 55.75 kB / 0.7702 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.4173, allocations: 0 / 0.7702 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002726/0.4176, allocations: 147.7 kB / 0.7703 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.866e-05/0.4176, allocations: 55.8 kB / 0.7704 GB, free: 476 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.367e-05/0.4177, allocations: 67.55 kB / 0.7704 GB, free: 408 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003209/0.418, allocations: 237.8 kB / 0.7707 GB, free: 172 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.4181, allocations: 0 / 0.7707 GB, free: 172 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.162e-06/0.4181, allocations: 0 / 0.7707 GB, free: 172 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.4181, allocations: 0 / 0.7707 GB, free: 172 kB / 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.0005782/0.4187, allocations: 0.4903 MB / 0.7711 GB, free: 15.63 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.4187, allocations: 8.031 kB / 0.7711 GB, free: 15.62 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.11e-05/0.4188, allocations: 20.75 kB / 0.7712 GB, free: 15.6 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.4189, allocations: 219.7 kB / 0.7714 GB, free: 15.35 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.4189, allocations: 384 / 0.7714 GB, free: 15.35 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.419, allocations: 4.359 kB / 0.7714 GB, free: 15.34 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.4191, allocations: 69.8 kB / 0.7714 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.4192, allocations: 3.984 kB / 0.7714 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.4192, allocations: 0 / 0.7714 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.4192, allocations: 0 / 0.7714 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000176/0.4194, allocations: 63.89 kB / 0.7715 GB, free: 15.2 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004751/0.4199, allocations: 332.8 kB / 0.7718 GB, free: 14.83 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.42, allocations: 62.53 kB / 0.7719 GB, free: 14.76 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.716e-05/0.4201, allocations: 28.91 kB / 0.7719 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.214e-05/0.4201, allocations: 19.98 kB / 0.7719 GB, free: 14.71 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.4202, allocations: 38.5 kB / 0.772 GB, free: 14.66 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.263e-06/0.4202, allocations: 0 / 0.772 GB, free: 14.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003852/0.4206, allocations: 133.3 kB / 0.7721 GB, free: 14.52 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.4206, allocations: 51.41 kB / 0.7721 GB, free: 14.46 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002532/0.4209, allocations: 266.8 kB / 0.7724 GB, free: 14.2 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.4209, allocations: 25.7 kB / 0.7724 GB, free: 14.17 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.048e-05/0.421, allocations: 128.1 kB / 0.7725 GB, free: 14.04 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.331e-05/0.421, allocations: 11.91 kB / 0.7726 GB, free: 14.03 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-05/0.4211, allocations: 13.7 kB / 0.7726 GB, free: 14.01 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.4212, allocations: 334.8 kB / 0.7729 GB, free: 13.67 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.635e-05/0.4213, allocations: 27.97 kB / 0.7729 GB, free: 13.64 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.17e-05/0.4214, allocations: 31.98 kB / 0.7729 GB, free: 13.61 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001584/0.4215, allocations: 68.73 kB / 0.773 GB, free: 13.54 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.4215, allocations: 3.938 kB / 0.773 GB, free: 13.54 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002108/0.4218, allocations: 105.5 kB / 0.7731 GB, free: 13.43 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.4218, allocations: 4 kB / 0.7731 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.4218, allocations: 4.094 kB / 0.7731 GB, free: 13.42 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.4218, allocations: 0 / 0.7731 GB, free: 13.42 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.066e-05/0.4219, allocations: 11.98 kB / 0.7731 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.329e-06/0.4219, allocations: 0 / 0.7731 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.03e-05/0.422, allocations: 7.984 kB / 0.7731 GB, free: 13.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.422, allocations: 3.938 kB / 0.7731 GB, free: 13.4 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.974e-05/0.4221, allocations: 140.2 kB / 0.7733 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.386e-05/0.4221, allocations: 19.72 kB / 0.7733 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000247/0.4224, allocations: 122.4 kB / 0.7734 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.4224, allocations: 0 / 0.7734 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.4224, allocations: 0 / 0.7734 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.4224, allocations: 0 / 0.7734 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002009/0.4226, allocations: 229.5 kB / 0.7736 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.4226, allocations: 0 / 0.7736 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.052e-05/0.4227, allocations: 11.98 kB / 0.7736 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.4227, allocations: 0 / 0.7736 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-06/0.4227, allocations: 4.031 kB / 0.7736 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.4227, allocations: 4 kB / 0.7736 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.4227, allocations: 0 / 0.7736 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002456/0.423, allocations: 203.2 kB / 0.7738 GB, free: 12.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.985e-05/0.423, allocations: 96.81 kB / 0.7739 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.423, allocations: 4 kB / 0.7739 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.734e-05/0.4231, allocations: 8.031 kB / 0.7739 GB, free: 12.47 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.73e-05/0.4232, allocations: 7.984 kB / 0.774 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-06/0.4232, allocations: 0 / 0.774 GB, free: 12.46 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000148/0.4233, allocations: 190 kB / 0.7741 GB, free: 12.28 MB / 0.545 GB Notification: Performance of sort global known variables: time 2e-07/0.4234, allocations: 0 / 0.7741 GB, free: 12.28 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002849/0.4236, allocations: 51.98 kB / 0.7742 GB, free: 12.23 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.000223/0.4239, allocations: 147.1 kB / 0.7743 GB, free: 12.08 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002201/0.4241, allocations: 63.95 kB / 0.7744 GB, free: 12.02 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.4241, allocations: 0 / 0.7744 GB, free: 12.02 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.265e-05/0.4242, allocations: 35.91 kB / 0.7744 GB, free: 11.98 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004323/0.4246, allocations: 55.27 kB / 0.7745 GB, free: 11.93 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005606/0.4252, allocations: 360.2 kB / 0.7748 GB, free: 11.54 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.4255, allocations: 0.7337 MB / 0.7755 GB, free: 10.79 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.562e-05/0.4255, allocations: 11.44 kB / 0.7755 GB, free: 10.77 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.4255, allocations: 0 / 0.7755 GB, free: 10.77 MB / 0.545 GB Notification: Performance of Templates: time 0.003654/0.4292, allocations: 1.996 MB / 0.7775 GB, free: 8.797 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.makefile (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe 2>&1)