Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.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.001145/0.001145, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 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.001293/0.001293, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.8517/0.8517, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5394/0.5394, allocations: 114 MB / 373.9 MB, free: 8.723 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 0.5542 GB, free: 2.773 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.493e-05/1.678e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001808/0.001825, allocations: 0.9119 MB / 0.5551 GB, free: 1.863 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001757/0.003582, allocations: 1.462 MB / 0.5565 GB, free: 396 kB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.297e-05/0.003655, allocations: 4 kB / 0.5565 GB, free: 392 kB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 4.535e-05/0.0037, allocations: 19.73 kB / 0.5565 GB, free: 372 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0001443/0.003845, allocations: 55.58 kB / 0.5566 GB, free: 316 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009238/0.004769, allocations: 446.6 kB / 0.557 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0004726/0.005241, allocations: 495 kB / 0.5575 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.005366, allocations: 33.94 kB / 0.5575 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000285/0.005651, allocations: 267.6 kB / 0.5578 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002142/0.005865, allocations: 131.6 kB / 0.5579 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 6.934e-05/0.005935, allocations: 48 kB / 0.5579 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.006043, allocations: 63.98 kB / 0.558 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 4.5e-05/0.006088, allocations: 39.83 kB / 0.558 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.000146/0.006234, allocations: 135.7 kB / 0.5582 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0005236/0.006757, allocations: 0.561 MB / 0.5587 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.006759, allocations: 0 / 0.5587 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.172e-06/0.006761, allocations: 4 kB / 0.5587 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.006766, allocations: 0 / 0.5587 GB, free: 14.13 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007431/0.007509, allocations: 0.5586 MB / 0.5593 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.007551, allocations: 12.62 kB / 0.5593 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.99e-05/0.007591, allocations: 38.73 kB / 0.5593 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.946e-05/0.007681, allocations: 32.8 kB / 0.5594 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.007843, allocations: 168.8 kB / 0.5595 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.154e-05/0.007874, allocations: 20.38 kB / 0.5595 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.674e-05/0.007931, allocations: 24.36 kB / 0.5596 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.00813, allocations: 121.6 kB / 0.5597 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.00814, allocations: 192 / 0.5597 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.008152, allocations: 4.375 kB / 0.5597 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.008161, allocations: 8.125 kB / 0.5597 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.008282, allocations: 55.91 kB / 0.5597 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008915/0.009173, allocations: 0.7462 MB / 0.5605 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/0.009333, allocations: 114.4 kB / 0.5606 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.35e-05/0.009407, allocations: 47.48 kB / 0.5606 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.009421, allocations: 8 kB / 0.5606 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000261/0.009682, allocations: 177 kB / 0.5608 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=16): time 1.492e-06/0.009683, allocations: 0 / 0.5608 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16): time 0.0004666/0.01015, allocations: 233.3 kB / 0.561 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.131e-05/0.01022, allocations: 136.5 kB / 0.5612 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002376/0.01046, allocations: 233.7 kB / 0.5614 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.209e-05/0.01051, allocations: 37.7 kB / 0.5614 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.01062, allocations: 136.5 kB / 0.5615 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.425e-05/0.01066, allocations: 35.73 kB / 0.5616 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001763/0.01083, allocations: 97.59 kB / 0.5617 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.01095, allocations: 334.8 kB / 0.562 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003938/0.01134, allocations: 279 kB / 0.5623 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000412/0.01175, allocations: 353.4 kB / 0.5626 GB, free: 9.785 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005704/0.01232, allocations: 368.9 kB / 0.5629 GB, free: 9.363 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.01233, allocations: 4 kB / 0.5629 GB, free: 9.359 MB / 0.5261 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009939/0.01332, allocations: 0.6863 MB / 0.5636 GB, free: 8.617 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.589e-05/0.01341, allocations: 137.1 kB / 0.5637 GB, free: 8.461 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.01341, allocations: 0 / 0.5637 GB, free: 8.461 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.01343, allocations: 7.938 kB / 0.5638 GB, free: 8.453 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.897e-05/0.01351, allocations: 15.94 kB / 0.5638 GB, free: 8.438 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.01352, allocations: 7.984 kB / 0.5638 GB, free: 8.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005067/0.01402, allocations: 112 kB / 0.5639 GB, free: 8.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.478e-05/0.01408, allocations: 19.98 kB / 0.5639 GB, free: 8.301 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.booPul.y,$PRE.pul3.booPul.y,pul3.y,$whenCondition5,$whenCondition6,pul1.booPul.y,$PRE.pul1.booPul.y,pul1.y,$whenCondition3,$whenCondition4,pul2.booPul.y,$PRE.pul2.booPul.y,pul2.y,$whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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 0.0001446/0.01422, allocations: 162.3 kB / 0.5641 GB, free: 8.133 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.247e-05/0.01426, allocations: 19.86 kB / 0.5641 GB, free: 8.113 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.108e-05/0.0143, allocations: 21.34 kB / 0.5641 GB, free: 8.086 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.0143, allocations: 3.984 kB / 0.5641 GB, free: 8.082 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.01431, allocations: 4 kB / 0.5641 GB, free: 8.078 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.01431, allocations: 0 / 0.5641 GB, free: 8.078 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002082/0.01452, allocations: 212.5 kB / 0.5643 GB, free: 7.828 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.01452, allocations: 0 / 0.5643 GB, free: 7.828 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.154e-05/0.01456, allocations: 19.92 kB / 0.5643 GB, free: 7.809 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.01457, allocations: 4 kB / 0.5643 GB, free: 7.805 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.01458, allocations: 0 / 0.5643 GB, free: 7.805 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.01458, allocations: 8 kB / 0.5643 GB, free: 7.797 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.01459, allocations: 4 kB / 0.5643 GB, free: 7.793 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000288/0.01487, allocations: 219.4 kB / 0.5645 GB, free: 7.551 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.327e-05/0.01491, allocations: 23.8 kB / 0.5646 GB, free: 7.527 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.01493, allocations: 12.92 kB / 0.5646 GB, free: 7.516 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.364e-05/0.01499, allocations: 0 / 0.5646 GB, free: 7.516 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.999e-05/0.01503, allocations: 15.98 kB / 0.5646 GB, free: 7.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.01504, allocations: 7.984 kB / 0.5646 GB, free: 7.492 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001505/0.01519, allocations: 173.2 kB / 0.5648 GB, free: 7.324 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01519, allocations: 0 / 0.5648 GB, free: 7.324 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003561/0.01555, allocations: 67.98 kB / 0.5648 GB, free: 7.258 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0005438/0.01609, allocations: 0.7638 MB / 0.5656 GB, free: 6.457 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007068/0.0168, allocations: 0.6082 MB / 0.5662 GB, free: 5.777 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.0168, allocations: 3.938 kB / 0.5662 GB, free: 5.773 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 9.795e-05/0.0169, allocations: 59.91 kB / 0.5662 GB, free: 5.715 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003957/0.01729, allocations: 64.88 kB / 0.5663 GB, free: 5.652 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003871/0.02116, allocations: 3.541 MB / 0.5698 GB, free: 1.816 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.789e-05/0.02123, allocations: 120.9 kB / 0.5699 GB, free: 1.68 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.99e-05/0.02128, allocations: 21.64 kB / 0.5699 GB, free: 1.66 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.056e-05/0.02134, allocations: 52.48 kB / 0.5699 GB, free: 1.609 MB / 0.5261 GB Notification: Performance of SimCode: time 4.51e-07/0.02134, allocations: 0 / 0.5699 GB, free: 1.609 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0171/0.03844, allocations: 7.627 MB / 0.5774 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.889/6.927, allocations: 14.67 kB / 0.5774 GB, free: 10.22 MB / 0.5417 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.242689491249621] Failed to read output from testmodel.py, exit status != 0: 7.011735267937183 7.020095211 7.011663619 Calling exit ...