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.004922/0.004922, allocations: 99.94 kB / 15.73 MB, free: 6.008 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.001239/0.00124, allocations: 198.9 kB / 16.68 MB, free: 5.93 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.303/1.303, 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.002212/0.002212, allocations: 292 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.9232/0.9232, allocations: 169.2 MB / 0.4983 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 96.12 kB / 0.6814 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4363/0.4381, allocations: 86.98 MB / 0.7664 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi): time 0.002931/0.4411, allocations: 1.72 MB / 0.768 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001364/0.4425, allocations: 0.9889 MB / 0.769 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.939e-05/0.4426, allocations: 0 / 0.769 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003925/0.443, allocations: 147.5 kB / 0.7692 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.856e-05/0.4431, allocations: 51.69 kB / 0.7692 GB, free: 1 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003206/0.4434, allocations: 115.5 kB / 0.7693 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001407/0.4436, allocations: 99.5 kB / 0.7694 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.102e-05/0.4436, allocations: 19.66 kB / 0.7694 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.217e-05/0.4437, allocations: 31.84 kB / 0.7695 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.996e-05/0.4438, allocations: 51.75 kB / 0.7695 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.4438, allocations: 4 kB / 0.7695 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002702/0.4441, allocations: 143.7 kB / 0.7696 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.381e-05/0.4442, allocations: 59.8 kB / 0.7697 GB, free: 500 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.695e-05/0.4442, allocations: 59.56 kB / 0.7698 GB, free: 440 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000323/0.4446, allocations: 245.8 kB / 0.77 GB, free: 196 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.4446, allocations: 0 / 0.77 GB, free: 196 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4446, allocations: 0 / 0.77 GB, free: 196 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.952e-06/0.4446, allocations: 4 kB / 0.77 GB, free: 192 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.000594/0.4452, allocations: 0.4904 MB / 0.7705 GB, free: 15.64 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.4452, allocations: 8.031 kB / 0.7705 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.32e-05/0.4453, allocations: 16.75 kB / 0.7705 GB, free: 15.62 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.4454, allocations: 215.6 kB / 0.7707 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-06/0.4455, allocations: 384 / 0.7707 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.4455, allocations: 384 / 0.7707 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001957/0.4457, allocations: 77.72 kB / 0.7708 GB, free: 15.29 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.4457, allocations: 0 / 0.7708 GB, free: 15.29 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.4457, allocations: 0 / 0.7708 GB, free: 15.29 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.4457, allocations: 0 / 0.7708 GB, free: 15.29 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001848/0.4459, allocations: 55.95 kB / 0.7708 GB, free: 15.24 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004917/0.4464, allocations: 336.8 kB / 0.7712 GB, free: 14.86 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.4466, allocations: 66.55 kB / 0.7712 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.4467, allocations: 32.89 kB / 0.7713 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.086e-05/0.4467, allocations: 19.91 kB / 0.7713 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.4468, allocations: 30.56 kB / 0.7713 GB, free: 14.69 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.352e-06/0.4468, allocations: 4 kB / 0.7713 GB, free: 14.69 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.000401/0.4472, allocations: 137.3 kB / 0.7714 GB, free: 14.55 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.4472, allocations: 51.41 kB / 0.7715 GB, free: 14.48 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002484/0.4475, allocations: 258.7 kB / 0.7717 GB, free: 14.23 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.4475, allocations: 29.7 kB / 0.7718 GB, free: 14.2 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.475e-05/0.4476, allocations: 132.1 kB / 0.7719 GB, free: 14.06 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.55e-05/0.4476, allocations: 3.906 kB / 0.7719 GB, free: 14.06 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.234e-05/0.4476, allocations: 13.84 kB / 0.7719 GB, free: 14.04 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.4478, allocations: 346.8 kB / 0.7722 GB, free: 13.69 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.631e-05/0.4479, allocations: 23.97 kB / 0.7723 GB, free: 13.67 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.565e-05/0.448, allocations: 31.92 kB / 0.7723 GB, free: 13.64 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001721/0.4481, allocations: 60.81 kB / 0.7723 GB, free: 13.57 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.4482, allocations: 8 kB / 0.7724 GB, free: 13.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00024/0.4484, allocations: 109.5 kB / 0.7725 GB, free: 13.45 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.4484, allocations: 8 kB / 0.7725 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.4484, allocations: 0 / 0.7725 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.4485, allocations: 0 / 0.7725 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.999e-05/0.4486, allocations: 11.98 kB / 0.7725 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.4486, allocations: 0 / 0.7725 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.65e-05/0.4486, allocations: 11.92 kB / 0.7725 GB, free: 13.42 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.4487, allocations: 4.031 kB / 0.7725 GB, free: 13.42 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.0001128/0.4488, allocations: 144.1 kB / 0.7726 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.58e-05/0.4488, allocations: 23.72 kB / 0.7726 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002719/0.4491, allocations: 110.5 kB / 0.7728 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.4491, allocations: 0 / 0.7728 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.4491, allocations: 0 / 0.7728 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.4491, allocations: 0 / 0.7728 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002253/0.4493, allocations: 229.5 kB / 0.773 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.4494, allocations: 4 kB / 0.773 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.652e-05/0.4494, allocations: 4 kB / 0.773 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.4494, allocations: 0 / 0.773 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/0.4494, allocations: 0 / 0.773 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.822e-06/0.4495, allocations: 7.984 kB / 0.773 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.4495, allocations: 0 / 0.773 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002775/0.4497, allocations: 211.2 kB / 0.7732 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.773e-05/0.4498, allocations: 92.83 kB / 0.7733 GB, free: 12.51 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.473e-05/0.4498, allocations: 3.984 kB / 0.7733 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.414e-05/0.4499, allocations: 4 kB / 0.7733 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.696e-05/0.45, allocations: 4 kB / 0.7733 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.45, allocations: 0 / 0.7733 GB, free: 12.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000158/0.4501, allocations: 189.9 kB / 0.7735 GB, free: 12.31 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4501, allocations: 4 kB / 0.7735 GB, free: 12.31 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002982/0.4504, allocations: 60.02 kB / 0.7735 GB, free: 12.25 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.0002159/0.4507, allocations: 147.1 kB / 0.7737 GB, free: 12.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002368/0.4509, allocations: 63.89 kB / 0.7737 GB, free: 12.04 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.4509, allocations: 0 / 0.7737 GB, free: 12.04 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.896e-05/0.451, allocations: 31.97 kB / 0.7738 GB, free: 12 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004139/0.4515, allocations: 52.53 kB / 0.7738 GB, free: 11.95 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005028/0.452, allocations: 322.5 kB / 0.7741 GB, free: 11.61 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.4523, allocations: 0.743 MB / 0.7748 GB, free: 10.84 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.808e-05/0.4523, allocations: 7.75 kB / 0.7749 GB, free: 10.83 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.126e-05/0.4523, allocations: 7.438 kB / 0.7749 GB, free: 10.82 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.4524, allocations: 3.938 kB / 0.7749 GB, free: 10.82 MB / 0.545 GB Notification: Performance of Templates: time 0.004614/0.457, allocations: 1.931 MB / 0.7768 GB, free: 8.93 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)