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/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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/BuildSysPro 3.5.0/package.mo): time 0.7344/0.7344, allocations: 127.3 MB / 139.8 MB, free: 15.46 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001152/0.001151, allocations: 172.2 kB / 169.7 MB, free: 1.746 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.735/1.735, allocations: 205.1 MB / 404.5 MB, free: 1.641 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000927/0.0009269, allocations: 94.03 kB / 481.8 MB, free: 4.293 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 5.367e-05/5.379e-05, allocations: 0 / 0.5533 GB, free: 54.75 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1691, allocations: 76.75 MB / 0.6282 GB, free: 9.941 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5561/0.7253, allocations: 103.2 MB / 0.729 GB, free: 10.17 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002061/0.7255, allocations: 77.77 kB / 0.7291 GB, free: 10.13 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003031/0.7286, allocations: 1.103 MB / 0.7302 GB, free: 9.16 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.7286, allocations: 0 / 0.7302 GB, free: 9.16 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.7286, allocations: 4 kB / 0.7302 GB, free: 9.156 MB / 490.7 MB 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.0004524/0.7291, allocations: 343.1 kB / 0.7305 GB, free: 8.781 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.7291, allocations: 8.031 kB / 0.7305 GB, free: 8.773 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.617e-05/0.7292, allocations: 38.55 kB / 0.7306 GB, free: 8.727 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.049e-05/0.7292, allocations: 15.48 kB / 0.7306 GB, free: 8.715 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.7294, allocations: 167 kB / 0.7307 GB, free: 8.512 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.7294, allocations: 4 kB / 0.7307 GB, free: 8.508 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.7294, allocations: 11.38 kB / 0.7307 GB, free: 8.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.7296, allocations: 52.67 kB / 0.7308 GB, free: 8.449 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.7296, allocations: 0.6562 kB / 0.7308 GB, free: 8.449 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.7296, allocations: 0 / 0.7308 GB, free: 8.449 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.7296, allocations: 4 kB / 0.7308 GB, free: 8.445 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.036e-05/0.7297, allocations: 34.58 kB / 0.7308 GB, free: 8.418 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005011/0.7302, allocations: 303.6 kB / 0.7311 GB, free: 8.09 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.7303, allocations: 54.92 kB / 0.7312 GB, free: 8.039 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.177e-05/0.7304, allocations: 26.88 kB / 0.7312 GB, free: 8.016 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.7304, allocations: 0 / 0.7312 GB, free: 8.016 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001418/0.7305, allocations: 84.89 kB / 0.7313 GB, free: 7.93 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.7305, allocations: 0 / 0.7313 GB, free: 7.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001925/0.7307, allocations: 74.81 kB / 0.7314 GB, free: 7.859 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.7308, allocations: 55.41 kB / 0.7314 GB, free: 7.793 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.983e-05/0.7309, allocations: 103.9 kB / 0.7315 GB, free: 7.691 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.7309, allocations: 29.7 kB / 0.7315 GB, free: 7.656 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.351e-05/0.7309, allocations: 83.14 kB / 0.7316 GB, free: 7.574 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.361e-05/0.731, allocations: 19.28 kB / 0.7316 GB, free: 7.559 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-06/0.731, allocations: 0 / 0.7316 GB, free: 7.559 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.7311, allocations: 330.6 kB / 0.7319 GB, free: 7.23 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.515e-05/0.7311, allocations: 14.5 kB / 0.732 GB, free: 7.223 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.732e-05/0.7312, allocations: 43.55 kB / 0.732 GB, free: 7.176 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.714e-05/0.7313, allocations: 34.16 kB / 0.732 GB, free: 7.148 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.7313, allocations: 0 / 0.732 GB, free: 7.148 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001344/0.7314, allocations: 91.05 kB / 0.7321 GB, free: 7.066 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.7314, allocations: 7.953 kB / 0.7321 GB, free: 7.059 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.7315, allocations: 4 kB / 0.7321 GB, free: 7.055 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.7315, allocations: 0 / 0.7321 GB, free: 7.055 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.961e-05/0.7315, allocations: 11.94 kB / 0.7321 GB, free: 7.043 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.7316, allocations: 4 kB / 0.7321 GB, free: 7.039 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.815e-05/0.7316, allocations: 15.27 kB / 0.7322 GB, free: 7.027 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.7317, allocations: 4 kB / 0.7322 GB, free: 7.023 MB / 490.7 MB 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,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.772e-05/0.7317, allocations: 116.1 kB / 0.7323 GB, free: 6.906 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.406e-05/0.7318, allocations: 4 kB / 0.7323 GB, free: 6.902 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.351e-05/0.7318, allocations: 11.05 kB / 0.7323 GB, free: 6.898 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.7318, allocations: 96 / 0.7323 GB, free: 6.898 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.7318, allocations: 7.875 kB / 0.7323 GB, free: 6.891 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.7318, allocations: 3.984 kB / 0.7323 GB, free: 6.887 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004064/0.7322, allocations: 360.8 kB / 0.7326 GB, free: 6.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.7323, allocations: 4 kB / 0.7327 GB, free: 6.496 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.8e-05/0.7323, allocations: 10.83 kB / 0.7327 GB, free: 6.488 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.7323, allocations: 0 / 0.7327 GB, free: 6.488 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.7323, allocations: 0 / 0.7327 GB, free: 6.488 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.7323, allocations: 0 / 0.7327 GB, free: 6.488 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.7323, allocations: 0 / 0.7327 GB, free: 6.488 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001676/0.7325, allocations: 181.1 kB / 0.7328 GB, free: 6.309 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.654e-05/0.7326, allocations: 81.02 kB / 0.7329 GB, free: 6.211 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.7326, allocations: 3.953 kB / 0.7329 GB, free: 6.207 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.562e-05/0.7327, allocations: 19.86 kB / 0.7329 GB, free: 6.191 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.769e-05/0.7327, allocations: 7.984 kB / 0.7329 GB, free: 6.184 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.7327, allocations: 0 / 0.7329 GB, free: 6.184 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.414e-05/0.7328, allocations: 82.34 kB / 0.733 GB, free: 6.105 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7328, allocations: 0 / 0.733 GB, free: 6.105 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002218/0.733, allocations: 12 kB / 0.733 GB, free: 6.094 MB / 490.7 MB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004498/0.7335, allocations: 0.7146 MB / 0.7337 GB, free: 5.371 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001417/0.7336, allocations: 62.91 kB / 0.7338 GB, free: 5.32 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.7336, allocations: 3.938 kB / 0.7338 GB, free: 5.316 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.564e-05/0.7337, allocations: 23.38 kB / 0.7338 GB, free: 5.297 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002043/0.7339, allocations: 15.2 kB / 0.7338 GB, free: 5.285 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004954/0.7344, allocations: 149.5 kB / 0.734 GB, free: 5.113 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003009/0.7347, allocations: 0.6926 MB / 0.7347 GB, free: 4.395 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.174e-05/0.7348, allocations: 4 kB / 0.7347 GB, free: 4.391 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.881e-05/0.7348, allocations: 18.38 kB / 0.7347 GB, free: 4.379 MB / 490.7 MB Notification: Performance of SimCode: time 3.51e-07/0.7348, allocations: 0 / 0.7347 GB, free: 4.379 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0129/0.7477, allocations: 1.501 MB / 0.7361 GB, free: 2.996 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002658/0.7481, allocations: 156 kB / 0.7363 GB, free: 2.777 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.505/2.253, allocations: 0 / 0.7363 GB, free: 2.777 MB / 490.7 MB (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/linux/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)