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.004603/0.004603, allocations: 101.4 kB / 15.73 MB, free: 5.492 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.001029/0.001029, allocations: 186.2 kB / 16.67 MB, free: 5.422 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: 14.94 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002559/0.002559, allocations: 291.5 kB / 290.8 MB, free: 14.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9741/0.9741, allocations: 169.3 MB / 0.4983 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001717/0.001717, allocations: 91.86 kB / 0.6814 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4378/0.4395, allocations: 86.98 MB / 0.7664 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi): time 0.002872/0.4424, allocations: 1.711 MB / 0.768 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001478/0.4439, allocations: 1.113 MB / 0.7691 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.128e-05/0.444, allocations: 0 / 0.7691 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004428/0.4444, allocations: 147.4 kB / 0.7693 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.558e-05/0.4445, allocations: 51.73 kB / 0.7693 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004497/0.445, allocations: 167.4 kB / 0.7695 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001575/0.4451, allocations: 103.5 kB / 0.7696 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.993e-05/0.4452, allocations: 15.78 kB / 0.7696 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.004e-05/0.4453, allocations: 39.84 kB / 0.7696 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.4454, allocations: 55.7 kB / 0.7697 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.4454, allocations: 4 kB / 0.7697 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003731/0.4458, allocations: 231.5 kB / 0.7699 GB, free: 420 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.73e-05/0.4459, allocations: 51.81 kB / 0.77 GB, free: 368 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.834e-05/0.446, allocations: 67.55 kB / 0.77 GB, free: 300 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004213/0.4464, allocations: 305.7 kB / 0.7703 GB, free: 15.99 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.403e-06/0.4464, allocations: 0 / 0.7703 GB, free: 15.99 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4464, allocations: 3.938 kB / 0.7703 GB, free: 15.99 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.4464, allocations: 4 kB / 0.7703 GB, free: 15.99 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.0006566/0.4471, allocations: 0.4904 MB / 0.7708 GB, free: 15.45 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.4472, allocations: 12.03 kB / 0.7708 GB, free: 15.44 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.423e-05/0.4472, allocations: 16.75 kB / 0.7708 GB, free: 15.42 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/0.4474, allocations: 219.7 kB / 0.771 GB, free: 15.17 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.4474, allocations: 384 / 0.771 GB, free: 15.17 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.317e-05/0.4474, allocations: 384 / 0.771 GB, free: 15.17 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002285/0.4477, allocations: 89.78 kB / 0.7711 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.4477, allocations: 0 / 0.7711 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.4477, allocations: 4 kB / 0.7711 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.4477, allocations: 7.875 kB / 0.7711 GB, free: 15.06 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002262/0.4479, allocations: 95.92 kB / 0.7712 GB, free: 14.97 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005621/0.4485, allocations: 376.8 kB / 0.7716 GB, free: 14.55 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.4487, allocations: 114.5 kB / 0.7717 GB, free: 14.43 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.4488, allocations: 52.89 kB / 0.7717 GB, free: 14.38 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.182e-05/0.4489, allocations: 19.98 kB / 0.7718 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.4489, allocations: 38.5 kB / 0.7718 GB, free: 14.31 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.4489, allocations: 0 / 0.7718 GB, free: 14.31 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0004519/0.4494, allocations: 193.3 kB / 0.772 GB, free: 14.11 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.4494, allocations: 55.41 kB / 0.772 GB, free: 14.05 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002341/0.4497, allocations: 258.7 kB / 0.7723 GB, free: 13.79 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.4497, allocations: 25.7 kB / 0.7723 GB, free: 13.76 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.178e-05/0.4498, allocations: 132.1 kB / 0.7724 GB, free: 13.63 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.907e-05/0.4498, allocations: 11.89 kB / 0.7724 GB, free: 13.62 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.15e-05/0.4498, allocations: 13.72 kB / 0.7725 GB, free: 13.6 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.45, allocations: 338.9 kB / 0.7728 GB, free: 13.26 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.4501, allocations: 43.97 kB / 0.7728 GB, free: 13.21 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.4502, allocations: 51.95 kB / 0.7729 GB, free: 13.16 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001975/0.4504, allocations: 100.7 kB / 0.773 GB, free: 13.06 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4504, allocations: 64 / 0.773 GB, free: 13.06 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002748/0.4507, allocations: 145.4 kB / 0.7731 GB, free: 12.91 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.4507, allocations: 8 kB / 0.7731 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.4507, allocations: 0 / 0.7731 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.4508, allocations: 0 / 0.7731 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.894e-05/0.4509, allocations: 11.98 kB / 0.7731 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.4509, allocations: 4 kB / 0.7731 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.224e-05/0.4509, allocations: 0 / 0.7731 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.525e-06/0.451, allocations: 12.02 kB / 0.7731 GB, free: 12.88 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.0001101/0.4511, allocations: 137.8 kB / 0.7733 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.182e-05/0.4511, allocations: 19.72 kB / 0.7733 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003492/0.4515, allocations: 166.4 kB / 0.7734 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.4515, allocations: 7.984 kB / 0.7735 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.4515, allocations: 0 / 0.7735 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.4515, allocations: 0 / 0.7735 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002679/0.4518, allocations: 245.5 kB / 0.7737 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4518, allocations: 0 / 0.7737 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.426e-05/0.4519, allocations: 11.98 kB / 0.7737 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.4519, allocations: 0 / 0.7737 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.178e-06/0.4519, allocations: 0 / 0.7737 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.4519, allocations: 3.938 kB / 0.7737 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.4519, allocations: 4 kB / 0.7737 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003275/0.4522, allocations: 251.1 kB / 0.7739 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.446e-05/0.4523, allocations: 96.84 kB / 0.774 GB, free: 11.85 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.267e-05/0.4523, allocations: 4 kB / 0.774 GB, free: 11.85 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.446e-05/0.4524, allocations: 8 kB / 0.7741 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.317e-05/0.4525, allocations: 7.984 kB / 0.7741 GB, free: 11.83 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.4525, allocations: 0 / 0.7741 GB, free: 11.83 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001581/0.4527, allocations: 190 kB / 0.7742 GB, free: 11.65 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4527, allocations: 0 / 0.7742 GB, free: 11.65 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003164/0.453, allocations: 75.92 kB / 0.7743 GB, free: 11.57 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.0002552/0.4532, allocations: 167.1 kB / 0.7745 GB, free: 11.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002721/0.4535, allocations: 103.9 kB / 0.7746 GB, free: 11.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.4535, allocations: 4 kB / 0.7746 GB, free: 11.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.4537, allocations: 55.91 kB / 0.7746 GB, free: 11.24 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000453/0.4541, allocations: 46.8 kB / 0.7747 GB, free: 11.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005671/0.4547, allocations: 358.4 kB / 0.775 GB, free: 10.82 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.455, allocations: 0.7353 MB / 0.7757 GB, free: 10.06 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.469e-05/0.4551, allocations: 15.69 kB / 0.7757 GB, free: 10.04 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.877e-05/0.4551, allocations: 19.42 kB / 0.7758 GB, free: 10.02 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.4551, allocations: 0 / 0.7758 GB, free: 10.02 MB / 0.545 GB Notification: Performance of Templates: time 0.005253/0.4604, allocations: 2.338 MB / 0.778 GB, free: 7.719 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)