Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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: "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001124/0.001123, allocations: 199.2 kB / 16.14 MB, free: 6.695 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.214/1.214, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8782/0.8782, allocations: 143 MB / 433 MB, free: 11.72 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001081/0.001081, allocations: 59.91 kB / 0.5136 GB, free: 12.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1357, allocations: 82.05 MB / 0.5937 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer): time 0.002274/0.1381, allocations: 1.53 MB / 0.5952 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005727/0.1386, allocations: 427 kB / 0.5956 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.214e-05/0.1387, allocations: 0 / 0.5956 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.156e-05/0.1387, allocations: 7.938 kB / 0.5956 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.403e-05/0.1388, allocations: 3.984 kB / 0.5956 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001248/0.1389, allocations: 23.92 kB / 0.5957 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.46e-05/0.139, allocations: 47.92 kB / 0.5957 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.641e-05/0.1391, allocations: 15.97 kB / 0.5957 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.826e-05/0.1391, allocations: 15.94 kB / 0.5957 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.859e-05/0.1392, allocations: 19.91 kB / 0.5958 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.1392, allocations: 4 kB / 0.5958 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.222e-05/0.1392, allocations: 4 kB / 0.5958 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.174e-05/0.1393, allocations: 11.92 kB / 0.5958 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.554e-05/0.1393, allocations: 19.88 kB / 0.5958 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.126e-05/0.1394, allocations: 44.14 kB / 0.5958 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1394, allocations: 7.938 kB / 0.5958 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of FrontEnd: time 6.41e-07/0.1394, allocations: 0 / 0.5958 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.496e-06/0.1394, allocations: 0 / 0.5958 GB, free: 7.773 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000443/0.1399, allocations: 359.4 kB / 0.5962 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.1399, allocations: 12.03 kB / 0.5962 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.115e-05/0.1399, allocations: 34.75 kB / 0.5962 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.686e-05/0.14, allocations: 12.78 kB / 0.5962 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.1401, allocations: 172.3 kB / 0.5964 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.1401, allocations: 4.375 kB / 0.5964 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.1401, allocations: 8.375 kB / 0.5964 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.1402, allocations: 61.75 kB / 0.5965 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.161e-06/0.1402, allocations: 0 / 0.5965 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.1402, allocations: 3.984 kB / 0.5965 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.1403, allocations: 0 / 0.5965 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.867e-05/0.1403, allocations: 27.98 kB / 0.5965 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004188/0.1407, allocations: 304.7 kB / 0.5968 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.516e-05/0.1408, allocations: 58.58 kB / 0.5969 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.862e-05/0.1409, allocations: 24.91 kB / 0.5969 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-06/0.1409, allocations: 4 kB / 0.5969 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001395/0.1411, allocations: 71.42 kB / 0.5969 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.1411, allocations: 4 kB / 0.597 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0001965/0.1413, allocations: 101.5 kB / 0.597 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.1413, allocations: 51.41 kB / 0.5971 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.056e-05/0.1414, allocations: 105.8 kB / 0.5972 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.1414, allocations: 29.7 kB / 0.5972 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.968e-05/0.1414, allocations: 88.12 kB / 0.5973 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.1415, allocations: 27.64 kB / 0.5973 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.494e-05/0.1415, allocations: 25.72 kB / 0.5974 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.531e-05/0.1416, allocations: 327.1 kB / 0.5977 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.269e-05/0.1417, allocations: 16 kB / 0.5977 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.885e-05/0.1417, allocations: 47.36 kB / 0.5977 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.548e-05/0.1418, allocations: 67.36 kB / 0.5978 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1418, allocations: 3.938 kB / 0.5978 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001263/0.1419, allocations: 101.5 kB / 0.5979 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.142, allocations: 8 kB / 0.5979 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.142, allocations: 0 / 0.5979 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/0.142, allocations: 0 / 0.5979 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.036e-05/0.1421, allocations: 8 kB / 0.5979 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.1421, allocations: 4 kB / 0.5979 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.143e-05/0.1421, allocations: 11.98 kB / 0.5979 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.335e-06/0.1421, allocations: 7.938 kB / 0.5979 GB, free: 5.367 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 7.813e-05/0.1422, allocations: 117.8 kB / 0.5981 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.26e-05/0.1422, allocations: 11.91 kB / 0.5981 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.524e-05/0.1423, allocations: 7.969 kB / 0.5981 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.1423, allocations: 0 / 0.5981 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.1423, allocations: 288 / 0.5981 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.1423, allocations: 3.984 kB / 0.5981 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003434/0.1426, allocations: 358.4 kB / 0.5984 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1427, allocations: 4.062 kB / 0.5984 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.548e-05/0.1427, allocations: 11.98 kB / 0.5984 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1427, allocations: 4 kB / 0.5984 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.1427, allocations: 0 / 0.5984 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.1427, allocations: 3.938 kB / 0.5984 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1427, allocations: 0 / 0.5984 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001451/0.1429, allocations: 183.4 kB / 0.5986 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.436e-05/0.1429, allocations: 85.05 kB / 0.5987 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.1429, allocations: 0 / 0.5987 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.197e-05/0.143, allocations: 15.92 kB / 0.5987 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.413e-05/0.1431, allocations: 7.984 kB / 0.5987 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.1431, allocations: 4 kB / 0.5987 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.284e-05/0.1431, allocations: 79.47 kB / 0.5988 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1431, allocations: 0 / 0.5988 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002141/0.1433, allocations: 19.94 kB / 0.5988 GB, free: 4.363 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003878/0.1437, allocations: 0.724 MB / 0.5995 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001125/0.1438, allocations: 59.86 kB / 0.5996 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.1438, allocations: 0 / 0.5996 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.752e-05/0.1439, allocations: 23.98 kB / 0.5996 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.1441, allocations: 11.94 kB / 0.5996 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.1453, allocations: 1.38 MB / 0.601 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002114/0.1455, allocations: 0.6809 MB / 0.6016 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.783e-05/0.1456, allocations: 11.98 kB / 0.6016 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.901e-05/0.1456, allocations: 15.44 kB / 0.6017 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1456, allocations: 0 / 0.6017 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.781/1.926, allocations: 1.529 MB / 0.6031 GB, free: 43.68 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001429/1.927, allocations: 206.2 kB / 0.6033 GB, free: 43.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.444/3.371, allocations: 0.7656 kB / 0.6033 GB, free: 43.43 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_OffTimer.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe 2>&1)