Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 105.3 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 225.6 MB / 247.8 MB, free: 3.746 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002235/0.002235, allocations: 291 kB / 303 MB, free: 3.551 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9719/0.9719, allocations: 180.9 MB / 0.5261 GB, free: 2.762 MB / 382.1 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(BuildingSystems.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002644/0.002644, allocations: 103.8 kB / 0.7247 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4244/0.4271, allocations: 94.17 MB / 0.8167 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Discrete.Examples.BooleanDelay): time 0.001909/0.429, allocations: 1.429 MB / 0.8181 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0005854/0.4296, allocations: 441.9 kB / 0.8185 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.654e-05/0.4296, allocations: 1.062 kB / 0.8185 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.409e-05/0.4296, allocations: 3.938 kB / 0.8185 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.328e-05/0.4297, allocations: 12.97 kB / 0.8185 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001263/0.4298, allocations: 16.45 kB / 0.8185 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.4299, allocations: 54.98 kB / 0.8186 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 6.876e-05/0.43, allocations: 14.23 kB / 0.8186 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.155e-05/0.4301, allocations: 23.5 kB / 0.8186 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.507e-05/0.4301, allocations: 20.47 kB / 0.8186 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.4301, allocations: 3.094 kB / 0.8186 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.05e-05/0.4301, allocations: 4.25 kB / 0.8186 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.001e-05/0.4302, allocations: 9.25 kB / 0.8187 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.853e-05/0.4302, allocations: 17.53 kB / 0.8187 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 9.418e-05/0.4303, allocations: 40.78 kB / 0.8187 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.4303, allocations: 1.281 kB / 0.8187 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.262e-06/0.4303, allocations: 0 / 0.8187 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.796e-06/0.4303, allocations: 4 kB / 0.8187 GB, free: 5.754 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004622/0.4308, allocations: 403.5 kB / 0.8191 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.4308, allocations: 9.344 kB / 0.8191 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.173e-05/0.4308, allocations: 32.25 kB / 0.8191 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.63e-05/0.4308, allocations: 3.656 kB / 0.8191 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.337e-05/0.4309, allocations: 183.6 kB / 0.8193 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.4309, allocations: 1.281 kB / 0.8193 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.431, allocations: 7.594 kB / 0.8193 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.928e-05/0.4311, allocations: 52.86 kB / 0.8194 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.445e-06/0.4311, allocations: 4.766 kB / 0.8194 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.4311, allocations: 4.359 kB / 0.8194 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.4311, allocations: 0 / 0.8194 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.633e-05/0.4311, allocations: 18.44 kB / 0.8194 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000281/0.4314, allocations: 273.1 kB / 0.8197 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 7.319e-05/0.4315, allocations: 38.34 kB / 0.8197 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.039e-05/0.4315, allocations: 18.98 kB / 0.8197 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.4315, allocations: 0.8438 kB / 0.8197 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000148/0.4317, allocations: 113 kB / 0.8198 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.243e-06/0.4317, allocations: 0.875 kB / 0.8198 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0002526/0.4319, allocations: 135.5 kB / 0.82 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.432, allocations: 79.48 kB / 0.82 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.722e-05/0.432, allocations: 119.4 kB / 0.8201 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.468e-06/0.432, allocations: 27.17 kB / 0.8202 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.494e-05/0.4321, allocations: 89.25 kB / 0.8203 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.677e-05/0.4321, allocations: 19.83 kB / 0.8203 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.589e-05/0.4321, allocations: 24.88 kB / 0.8203 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.646e-05/0.4321, allocations: 320.5 kB / 0.8206 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.958e-05/0.4322, allocations: 15.84 kB / 0.8206 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.83e-05/0.4322, allocations: 42.2 kB / 0.8207 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.255e-05/0.4323, allocations: 109 kB / 0.8208 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4323, allocations: 4.281 kB / 0.8208 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001358/0.4324, allocations: 121.2 kB / 0.8209 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.4324, allocations: 32.45 kB / 0.8209 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.4324, allocations: 0 / 0.8209 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.4325, allocations: 1.469 kB / 0.8209 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.843e-05/0.4325, allocations: 10.8 kB / 0.8209 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.4325, allocations: 1.234 kB / 0.8209 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.819e-05/0.4326, allocations: 9.156 kB / 0.8209 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.4326, allocations: 7 kB / 0.8209 GB, free: 3.57 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 (del.firstTrigger,$PRE.del.firstTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,del.ySample,del.sampleTrigger,del.y,$whenCondition3,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * 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.214e-05/0.4326, allocations: 161 kB / 0.8211 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.389e-05/0.4326, allocations: 7.078 kB / 0.8211 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.328e-05/0.4327, allocations: 12.84 kB / 0.8211 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.4327, allocations: 5.656 kB / 0.8211 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.4327, allocations: 4 kB / 0.8211 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.4327, allocations: 0 / 0.8211 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002833/0.433, allocations: 402 kB / 0.8215 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.433, allocations: 0 / 0.8215 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.173e-06/0.433, allocations: 1.406 kB / 0.8215 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.433, allocations: 5.438 kB / 0.8215 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.433, allocations: 1.344 kB / 0.8215 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.433, allocations: 0 / 0.8215 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.433, allocations: 5.344 kB / 0.8215 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001518/0.4331, allocations: 236.9 kB / 0.8217 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.952e-05/0.4332, allocations: 85.67 kB / 0.8218 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.4332, allocations: 2.562 kB / 0.8218 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.391e-05/0.4333, allocations: 9.469 kB / 0.8218 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.042e-05/0.4333, allocations: 10.72 kB / 0.8218 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.4333, allocations: 6.875 kB / 0.8219 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 2.698e-05/0.4333, allocations: 90.5 kB / 0.8219 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.4333, allocations: 4 kB / 0.8219 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002151/0.4336, allocations: 13.31 kB / 0.822 GB, free: 2.625 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0002866/0.4339, allocations: 0.7618 MB / 0.8227 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001385/0.434, allocations: 110 kB / 0.8228 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.434, allocations: 1.125 kB / 0.8228 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.805e-05/0.434, allocations: 80.7 kB / 0.8229 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002617/0.4343, allocations: 18.19 kB / 0.8229 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.4355, allocations: 1.424 MB / 0.8243 GB, free: 16.43 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.4358, allocations: 0.6911 MB / 0.825 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.737e-05/0.4359, allocations: 3.953 kB / 0.825 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.307e-05/0.4359, allocations: 16.03 kB / 0.825 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of SimCode: time 2.8e-07/0.4359, allocations: 0 / 0.825 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02271/0.4586, allocations: 1.916 MB / 0.8269 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.176/7.635, allocations: 11.72 kB / 0.8269 GB, free: 15.29 MB / 0.5919 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_Discrete_Examples_BooleanDelay_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_Discrete_Examples_BooleanDelay.fmu > BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.038712372072041] Failed to read output from testmodel.py, exit status != 0: 7.707635246217251 7.719537861 7.286543911 Calling exit ...