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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.866/0.866, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.5405/0.5405, allocations: 110.2 MB / 369.4 MB, free: 12.64 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 0.5472 GB, free: 9.906 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.363e-05/1.478e-05, allocations: 2.281 kB / 0.5472 GB, free: 9.902 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer): time 0.002273/0.002288, allocations: 1.476 MB / 0.5487 GB, free: 8.414 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0005784/0.002866, allocations: 466.8 kB / 0.5491 GB, free: 7.953 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.337e-05/0.002899, allocations: 0 / 0.5491 GB, free: 7.953 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.713e-05/0.002927, allocations: 3.984 kB / 0.5491 GB, free: 7.949 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 7.032e-05/0.002997, allocations: 11.86 kB / 0.5491 GB, free: 7.938 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001355/0.003132, allocations: 23.86 kB / 0.5492 GB, free: 7.914 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 7.261e-05/0.003205, allocations: 47.84 kB / 0.5492 GB, free: 7.867 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.003306, allocations: 15.97 kB / 0.5492 GB, free: 7.852 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 6.292e-05/0.003369, allocations: 35.92 kB / 0.5492 GB, free: 7.816 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 5.222e-05/0.003421, allocations: 11.97 kB / 0.5493 GB, free: 7.805 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.003442, allocations: 8 kB / 0.5493 GB, free: 7.797 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 9.087e-06/0.003451, allocations: 4 kB / 0.5493 GB, free: 7.793 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.951e-05/0.00347, allocations: 11.92 kB / 0.5493 GB, free: 7.781 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 3.209e-05/0.003503, allocations: 15.98 kB / 0.5493 GB, free: 7.766 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 9.051e-05/0.003593, allocations: 47.86 kB / 0.5493 GB, free: 7.719 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.003595, allocations: 0 / 0.5493 GB, free: 7.719 MB / 0.5105 GB Notification: Performance of FrontEnd: time 8.91e-07/0.003596, allocations: 0 / 0.5493 GB, free: 7.719 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.0036, allocations: 0 / 0.5493 GB, free: 7.719 MB / 0.5105 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.0003582/0.003958, allocations: 294.2 kB / 0.5496 GB, free: 7.402 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.003996, allocations: 11.97 kB / 0.5496 GB, free: 7.391 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.883e-05/0.004025, allocations: 34.75 kB / 0.5497 GB, free: 7.348 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.162e-05/0.004046, allocations: 4.938 kB / 0.5497 GB, free: 7.344 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.406e-05/0.004131, allocations: 113.7 kB / 0.5498 GB, free: 7.207 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.004142, allocations: 8.375 kB / 0.5498 GB, free: 7.199 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.317e-06/0.004152, allocations: 4.375 kB / 0.5498 GB, free: 7.195 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.186e-05/0.004243, allocations: 54.19 kB / 0.5498 GB, free: 7.137 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.00425, allocations: 192 / 0.5498 GB, free: 7.137 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.004261, allocations: 16.03 kB / 0.5499 GB, free: 7.121 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.004266, allocations: 8 kB / 0.5499 GB, free: 7.113 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.914e-05/0.004315, allocations: 23.98 kB / 0.5499 GB, free: 7.09 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000334/0.004649, allocations: 255.9 kB / 0.5501 GB, free: 6.797 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.424e-05/0.004733, allocations: 54.59 kB / 0.5502 GB, free: 6.734 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.336e-05/0.004766, allocations: 28.94 kB / 0.5502 GB, free: 6.703 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 8.546e-06/0.004775, allocations: 0 / 0.5502 GB, free: 6.703 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001281/0.004903, allocations: 75.33 kB / 0.5503 GB, free: 6.617 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=9): time 7.91e-07/0.004904, allocations: 0 / 0.5503 GB, free: 6.617 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9): time 0.0001808/0.005085, allocations: 105.6 kB / 0.5504 GB, free: 6.508 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.005121, allocations: 55.34 kB / 0.5504 GB, free: 6.441 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.267e-05/0.005183, allocations: 113.8 kB / 0.5505 GB, free: 6.32 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.005196, allocations: 25.7 kB / 0.5506 GB, free: 6.289 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.532e-05/0.005232, allocations: 92.12 kB / 0.5507 GB, free: 6.195 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/0.005253, allocations: 19.86 kB / 0.5507 GB, free: 6.176 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.281e-05/0.005285, allocations: 29.64 kB / 0.5507 GB, free: 6.141 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.862e-05/0.005364, allocations: 318.8 kB / 0.551 GB, free: 5.82 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.679e-05/0.005391, allocations: 19.98 kB / 0.551 GB, free: 5.801 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.895e-05/0.00543, allocations: 47.36 kB / 0.5511 GB, free: 5.742 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.523e-05/0.005495, allocations: 67.38 kB / 0.5511 GB, free: 5.664 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.005498, allocations: 4 kB / 0.5511 GB, free: 5.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.55e-05/0.005593, allocations: 93.56 kB / 0.5512 GB, free: 5.562 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.005606, allocations: 4 kB / 0.5512 GB, free: 5.559 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.00561, allocations: 384 / 0.5512 GB, free: 5.559 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.005621, allocations: 4 kB / 0.5512 GB, free: 5.555 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.429e-05/0.005676, allocations: 15.94 kB / 0.5513 GB, free: 5.539 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.00568, allocations: 0 / 0.5513 GB, free: 5.539 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.741e-05/0.005718, allocations: 11.92 kB / 0.5513 GB, free: 5.527 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.005723, allocations: 4 kB / 0.5513 GB, free: 5.523 MB / 0.5105 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 6.673e-05/0.00579, allocations: 134 kB / 0.5514 GB, free: 5.383 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.154e-06/0.005797, allocations: 3.953 kB / 0.5514 GB, free: 5.379 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.346e-05/0.005821, allocations: 12.09 kB / 0.5514 GB, free: 5.363 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.005823, allocations: 4 kB / 0.5514 GB, free: 5.359 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.005828, allocations: 0 / 0.5514 GB, free: 5.359 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.005831, allocations: 0 / 0.5514 GB, free: 5.359 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002744/0.006106, allocations: 329.5 kB / 0.5517 GB, free: 4.988 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.006107, allocations: 4 kB / 0.5517 GB, free: 4.984 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.355e-05/0.006121, allocations: 0 / 0.5517 GB, free: 4.984 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.006122, allocations: 8 kB / 0.5517 GB, free: 4.977 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.006129, allocations: 0 / 0.5517 GB, free: 4.977 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.006131, allocations: 4.062 kB / 0.5517 GB, free: 4.973 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.006132, allocations: 0 / 0.5517 GB, free: 4.973 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/0.006241, allocations: 191.4 kB / 0.5519 GB, free: 4.77 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.502e-06/0.006247, allocations: 0 / 0.5519 GB, free: 4.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.887e-06/0.006256, allocations: 0 / 0.5519 GB, free: 4.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.362e-05/0.0063, allocations: 11.92 kB / 0.5519 GB, free: 4.758 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.625e-05/0.006336, allocations: 11.98 kB / 0.552 GB, free: 4.746 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.006343, allocations: 7.938 kB / 0.552 GB, free: 4.738 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.734e-05/0.00637, allocations: 79.28 kB / 0.552 GB, free: 4.66 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.00637, allocations: 4 kB / 0.552 GB, free: 4.656 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001619/0.006532, allocations: 19.98 kB / 0.5521 GB, free: 4.637 MB / 0.5105 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.000271/0.006803, allocations: 0.7164 MB / 0.5528 GB, free: 3.895 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001025/0.006906, allocations: 51.92 kB / 0.5528 GB, free: 3.844 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.006907, allocations: 3.938 kB / 0.5528 GB, free: 3.84 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.72e-05/0.006944, allocations: 23.98 kB / 0.5528 GB, free: 3.816 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001982/0.007143, allocations: 15.92 kB / 0.5528 GB, free: 3.801 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009127/0.008055, allocations: 1.384 MB / 0.5542 GB, free: 2.316 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.877e-05/0.008104, allocations: 71.2 kB / 0.5543 GB, free: 2.227 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.689e-05/0.008131, allocations: 7.984 kB / 0.5543 GB, free: 2.219 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.944e-05/0.00817, allocations: 16.5 kB / 0.5543 GB, free: 2.203 MB / 0.5105 GB Notification: Performance of SimCode: time 4.21e-07/0.008171, allocations: 3.938 kB / 0.5543 GB, free: 2.199 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01625/0.02443, allocations: 2.477 MB / 0.5567 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.901/6.925, allocations: 0.7031 kB / 0.5567 GB, free: 15.89 MB / 0.5261 GB " [Timeout remaining time 653] (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 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_OffTimer.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.286517200991511] Failed to read output from testmodel.py, exit status != 0: 7.012429057620466 7.025297782 7.019518035 Calling exit ...