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.001287/0.001287, allocations: 106.3 kB / 16.41 MB, free: 6.496 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.001255/0.001255, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.235/1.235, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002118/0.002118, allocations: 293.5 kB / 291.5 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.889/0.889, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001697/0.001697, allocations: 99.84 kB / 0.6821 GB, free: 7.004 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4014/0.4031, allocations: 86.98 MB / 0.767 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi): time 0.002578/0.4057, allocations: 1.708 MB / 0.7687 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001196/0.4069, allocations: 0.9927 MB / 0.7697 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.874e-05/0.407, allocations: 4 kB / 0.7697 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003734/0.4074, allocations: 143.5 kB / 0.7698 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.183e-05/0.4075, allocations: 63.66 kB / 0.7699 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003038/0.4078, allocations: 107.6 kB / 0.77 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.4079, allocations: 99.5 kB / 0.7701 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.474e-05/0.408, allocations: 7.656 kB / 0.7701 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.068e-05/0.408, allocations: 35.84 kB / 0.7701 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.586e-05/0.4081, allocations: 55.75 kB / 0.7702 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.4081, allocations: 0 / 0.7702 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002387/0.4084, allocations: 143.7 kB / 0.7703 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.048e-05/0.4085, allocations: 55.8 kB / 0.7704 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.25e-05/0.4085, allocations: 63.56 kB / 0.7704 GB, free: 496 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002764/0.4088, allocations: 249.8 kB / 0.7707 GB, free: 248 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.4088, allocations: 0 / 0.7707 GB, free: 248 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4088, allocations: 0 / 0.7707 GB, free: 248 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.598e-06/0.4088, allocations: 0 / 0.7707 GB, free: 248 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.0005484/0.4094, allocations: 498.1 kB / 0.7711 GB, free: 15.71 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.4094, allocations: 8.031 kB / 0.7711 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.844e-05/0.4095, allocations: 16.75 kB / 0.7712 GB, free: 15.68 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.4096, allocations: 215.7 kB / 0.7714 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.836e-06/0.4096, allocations: 8.375 kB / 0.7714 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.4096, allocations: 4.375 kB / 0.7714 GB, free: 15.42 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.4098, allocations: 73.7 kB / 0.7714 GB, free: 15.34 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.941e-06/0.4098, allocations: 0 / 0.7714 GB, free: 15.34 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.545e-06/0.4099, allocations: 0 / 0.7714 GB, free: 15.34 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.4099, allocations: 4 kB / 0.7714 GB, free: 15.34 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001756/0.41, allocations: 59.95 kB / 0.7715 GB, free: 15.28 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004252/0.4105, allocations: 332.8 kB / 0.7718 GB, free: 14.91 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.4106, allocations: 66.53 kB / 0.7719 GB, free: 14.83 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.193e-05/0.4107, allocations: 32.91 kB / 0.7719 GB, free: 14.8 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.761e-05/0.4108, allocations: 19.91 kB / 0.7719 GB, free: 14.78 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.4108, allocations: 34.56 kB / 0.772 GB, free: 14.73 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.372e-06/0.4108, allocations: 0 / 0.772 GB, free: 14.73 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003758/0.4112, allocations: 137.3 kB / 0.7721 GB, free: 14.59 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.4112, allocations: 51.41 kB / 0.7721 GB, free: 14.53 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002298/0.4115, allocations: 258.7 kB / 0.7724 GB, free: 14.28 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.4115, allocations: 25.7 kB / 0.7724 GB, free: 14.25 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.893e-05/0.4116, allocations: 144.2 kB / 0.7726 GB, free: 14.1 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.451e-05/0.4116, allocations: 3.906 kB / 0.7726 GB, free: 14.1 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.755e-05/0.4116, allocations: 17.7 kB / 0.7726 GB, free: 14.07 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.4118, allocations: 330.8 kB / 0.7729 GB, free: 13.74 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.712e-05/0.4119, allocations: 31.97 kB / 0.7729 GB, free: 13.71 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.907e-05/0.4119, allocations: 27.92 kB / 0.7729 GB, free: 13.68 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001701/0.4121, allocations: 72.86 kB / 0.773 GB, free: 13.61 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.4121, allocations: 0 / 0.773 GB, free: 13.61 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002182/0.4124, allocations: 101.5 kB / 0.7731 GB, free: 13.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.4124, allocations: 4 kB / 0.7731 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.4124, allocations: 0 / 0.7731 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.4124, allocations: 4 kB / 0.7731 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.654e-05/0.4125, allocations: 12.02 kB / 0.7731 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.4125, allocations: 0 / 0.7731 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.36e-05/0.4126, allocations: 11.92 kB / 0.7731 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-06/0.4126, allocations: 0 / 0.7731 GB, free: 13.47 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.795e-05/0.4127, allocations: 141.7 kB / 0.7733 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.497e-05/0.4127, allocations: 19.72 kB / 0.7733 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000259/0.413, allocations: 122.5 kB / 0.7734 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.413, allocations: 0 / 0.7734 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.413, allocations: 0 / 0.7734 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.413, allocations: 0 / 0.7734 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000195/0.4132, allocations: 225.5 kB / 0.7736 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4132, allocations: 0 / 0.7736 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.626e-05/0.4133, allocations: 11.98 kB / 0.7736 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.4133, allocations: 0 / 0.7736 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-06/0.4133, allocations: 0 / 0.7736 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.4133, allocations: 0 / 0.7736 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4133, allocations: 0 / 0.7736 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002507/0.4136, allocations: 211.2 kB / 0.7738 GB, free: 12.67 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.53e-05/0.4136, allocations: 100.8 kB / 0.7739 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.4137, allocations: 0 / 0.7739 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.807e-05/0.4138, allocations: 4 kB / 0.7739 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.441e-05/0.4138, allocations: 7.984 kB / 0.774 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.4138, allocations: 4.031 kB / 0.774 GB, free: 12.54 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001545/0.414, allocations: 190 kB / 0.7741 GB, free: 12.36 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.414, allocations: 0 / 0.7741 GB, free: 12.36 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002663/0.4142, allocations: 51.98 kB / 0.7742 GB, free: 12.3 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.0001978/0.4144, allocations: 153.8 kB / 0.7743 GB, free: 12.15 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000221/0.4147, allocations: 63.89 kB / 0.7744 GB, free: 12.09 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.4147, allocations: 4.062 kB / 0.7744 GB, free: 12.08 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.201e-05/0.4148, allocations: 35.97 kB / 0.7744 GB, free: 12.05 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/0.4152, allocations: 40.39 kB / 0.7745 GB, free: 12.01 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004877/0.4157, allocations: 368.2 kB / 0.7748 GB, free: 11.61 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/0.416, allocations: 0.7352 MB / 0.7755 GB, free: 10.85 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.298e-05/0.416, allocations: 11.44 kB / 0.7756 GB, free: 10.84 MB / 0.545 GB Notification: Performance of SimCode: time 1.333e-06/0.416, allocations: 0 / 0.7756 GB, free: 10.84 MB / 0.545 GB Notification: Performance of Templates: time 0.003062/0.4191, allocations: 1.972 MB / 0.7775 GB, free: 8.887 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)