Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.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.0007524/0.0007524, 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.0008057/0.0008057, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8736/0.8736, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.5748/0.5748, allocations: 114 MB / 373.9 MB, free: 8.695 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.Logical.Sources.Validation.Pulse,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.005e-06/3.005e-06, allocations: 0 / 0.5542 GB, free: 1.695 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.417e-05/2.717e-05, allocations: 4.797 kB / 0.5542 GB, free: 1.691 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.002214/0.002241, allocations: 1.078 MB / 0.5553 GB, free: 0.6172 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.002835/0.005076, allocations: 2.224 MB / 0.5574 GB, free: 14.38 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001438/0.00522, allocations: 0 / 0.5574 GB, free: 14.38 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 6.06e-05/0.005281, allocations: 23.67 kB / 0.5574 GB, free: 14.35 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002185/0.005499, allocations: 103.1 kB / 0.5575 GB, free: 14.25 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00275/0.00825, allocations: 1.399 MB / 0.5589 GB, free: 12.91 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001459/0.009708, allocations: 1.213 MB / 0.5601 GB, free: 11.7 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.109e-05/0.009789, allocations: 16.94 kB / 0.5601 GB, free: 11.68 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009003/0.01069, allocations: 0.6477 MB / 0.5607 GB, free: 11.04 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005782/0.01127, allocations: 371.1 kB / 0.5611 GB, free: 10.67 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001778/0.01145, allocations: 104 kB / 0.5612 GB, free: 10.57 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002105/0.01166, allocations: 120 kB / 0.5613 GB, free: 10.45 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.65e-05/0.01171, allocations: 55.75 kB / 0.5614 GB, free: 10.4 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003863/0.0121, allocations: 355.5 kB / 0.5617 GB, free: 10.05 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001319/0.01342, allocations: 1.189 MB / 0.5629 GB, free: 8.859 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.01342, allocations: 0 / 0.5629 GB, free: 8.859 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.01343, allocations: 0 / 0.5629 GB, free: 8.859 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.01344, allocations: 0 / 0.5629 GB, free: 8.859 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001398/0.01483, allocations: 1.101 MB / 0.5639 GB, free: 7.629 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/0.01489, allocations: 12.61 kB / 0.564 GB, free: 7.617 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.248e-05/0.01493, allocations: 38.73 kB / 0.564 GB, free: 7.57 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002215/0.01515, allocations: 64.75 kB / 0.5641 GB, free: 7.508 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/0.0153, allocations: 173.9 kB / 0.5642 GB, free: 7.312 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.173e-05/0.01536, allocations: 36.36 kB / 0.5643 GB, free: 7.277 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/0.01551, allocations: 72.3 kB / 0.5643 GB, free: 7.207 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002843/0.0158, allocations: 206.9 kB / 0.5645 GB, free: 6.953 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.01581, allocations: 4.125 kB / 0.5645 GB, free: 6.949 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.185e-05/0.01583, allocations: 12.36 kB / 0.5645 GB, free: 6.938 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.01584, allocations: 8.125 kB / 0.5645 GB, free: 6.93 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.01595, allocations: 67.78 kB / 0.5646 GB, free: 6.863 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007836/0.01674, allocations: 0.6138 MB / 0.5652 GB, free: 6.164 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003001/0.01704, allocations: 315.2 kB / 0.5655 GB, free: 5.719 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001542/0.01719, allocations: 128.9 kB / 0.5656 GB, free: 5.547 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.01721, allocations: 8 kB / 0.5656 GB, free: 5.539 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006048/0.01781, allocations: 474.9 kB / 0.5661 GB, free: 5.004 MB / 490.7 MB Notification: Performance of pre-optimization done (n=45): time 2.074e-06/0.01781, allocations: 0 / 0.5661 GB, free: 5.004 MB / 490.7 MB Notification: Performance of matching and sorting (n=45): time 0.001191/0.019, allocations: 0.5775 MB / 0.5667 GB, free: 4.422 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001979/0.0192, allocations: 435.2 kB / 0.5671 GB, free: 3.898 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003033/0.0195, allocations: 304.3 kB / 0.5674 GB, free: 3.59 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002235/0.01973, allocations: 65.7 kB / 0.5674 GB, free: 3.52 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001811/0.01991, allocations: 161.4 kB / 0.5676 GB, free: 3.359 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.02001, allocations: 99.31 kB / 0.5677 GB, free: 3.262 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004695/0.02048, allocations: 274 kB / 0.5679 GB, free: 2.988 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.02062, allocations: 350.8 kB / 0.5683 GB, free: 2.637 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001136/0.02175, allocations: 0.862 MB / 0.5691 GB, free: 1.684 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001279/0.02303, allocations: 1.153 MB / 0.5702 GB, free: 308 kB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001368/0.0244, allocations: 1.195 MB / 0.5714 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.067e-05/0.02441, allocations: 4 kB / 0.5714 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003095/0.0275, allocations: 2.198 MB / 0.5736 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000278/0.02778, allocations: 473.4 kB / 0.574 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.434e-05/0.02781, allocations: 12 kB / 0.574 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.611e-05/0.02784, allocations: 16.91 kB / 0.574 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.02797, allocations: 39.78 kB / 0.5741 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.896e-05/0.028, allocations: 15.94 kB / 0.5741 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001433/0.02943, allocations: 407.2 kB / 0.5745 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001384/0.02957, allocations: 99.92 kB / 0.5746 GB, free: 11.35 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 60 (booPul_c5.y,$PRE.booPul_c5.y,$whenCondition29,$whenCondition30,booPul_b5.y,$PRE.booPul_b5.y,$whenCondition27,$whenCondition28,booPul_a5.y,$PRE.booPul_a5.y,$whenCondition25,$whenCondition26,booPul_c4.y,$PRE.booPul_c4.y,$whenCondition23,$whenCondition24,booPul_b4.y,$PRE.booPul_b4.y,$whenCondition21,$whenCondition22,booPul_a4.y,$PRE.booPul_a4.y,$whenCondition19,$whenCondition20,booPul_c3.y,$PRE.booPul_c3.y,$whenCondition17,$whenCondition18,booPul_b3.y,$PRE.booPul_b3.y,$whenCondition15,$whenCondition16,booPul_a3.y,$PRE.booPul_a3.y,$whenCondition13,$whenCondition14,booPul_c2.y,$PRE.booPul_c2.y,$whenCondition11,$whenCondition12,booPul_b2.y,$PRE.booPul_b2.y,$whenCondition9,$whenCondition10,booPul_a2.y,$PRE.booPul_a2.y,$whenCondition7,$whenCondition8,booPul_c1.y,$PRE.booPul_c1.y,$whenCondition5,$whenCondition6,booPul_b1.y,$PRE.booPul_b1.y,$whenCondition3,$whenCondition4,booPul_a1.y,$PRE.booPul_a1.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 15 * 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.0002667/0.02984, allocations: 217.6 kB / 0.5748 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.598e-05/0.02991, allocations: 39.77 kB / 0.5748 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.485e-05/0.02997, allocations: 42.23 kB / 0.5749 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.02998, allocations: 15.88 kB / 0.5749 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.02999, allocations: 4 kB / 0.5749 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.02999, allocations: 7.984 kB / 0.5749 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002446/0.03024, allocations: 276.5 kB / 0.5751 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.03024, allocations: 4 kB / 0.5751 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.442e-05/0.03027, allocations: 23.86 kB / 0.5752 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.844e-06/0.03027, allocations: 8 kB / 0.5752 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.03029, allocations: 23.97 kB / 0.5752 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.0303, allocations: 7.938 kB / 0.5752 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.0303, allocations: 4 kB / 0.5752 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004775/0.03078, allocations: 0.5124 MB / 0.5757 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.038e-05/0.03082, allocations: 39.64 kB / 0.5758 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.113e-05/0.03085, allocations: 23.92 kB / 0.5758 GB, free: 10 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.821e-05/0.03092, allocations: 15.98 kB / 0.5758 GB, free: 9.984 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.269e-05/0.03098, allocations: 51.92 kB / 0.5758 GB, free: 9.934 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.967e-05/0.031, allocations: 27.98 kB / 0.5759 GB, free: 9.906 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000119/0.03112, allocations: 195 kB / 0.5761 GB, free: 9.719 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.03112, allocations: 0 / 0.5761 GB, free: 9.719 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004559/0.03158, allocations: 200 kB / 0.5762 GB, free: 9.523 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition29,$whenCondition30,booPul_c5.y,$whenCondition27,$whenCondition28,booPul_b5.y,$whenCondition25,$whenCondition26,booPul_a5.y,$whenCondition23,$whenCondition24,booPul_c4.y,$whenCondition21,$whenCondition22,booPul_b4.y,$whenCondition19,$whenCondition20,booPul_a4.y,$whenCondition17,$whenCondition18,booPul_c3.y,$whenCondition15,$whenCondition16,booPul_b3.y,$whenCondition13,$whenCondition14,booPul_a3.y,$whenCondition11,$whenCondition12,booPul_c2.y,$whenCondition9,$whenCondition10,booPul_b2.y,$whenCondition7,$whenCondition8,booPul_a2.y,$whenCondition5,$whenCondition6,booPul_c1.y,$whenCondition3,$whenCondition4,booPul_b1.y,$whenCondition1,$whenCondition2,booPul_a1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 15 * 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.0006754/0.03225, allocations: 1.097 MB / 0.5773 GB, free: 8.355 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001449/0.0337, allocations: 2.013 MB / 0.5793 GB, free: 6.066 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.0337, allocations: 0 / 0.5793 GB, free: 6.066 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001647/0.03387, allocations: 147.7 kB / 0.5794 GB, free: 5.922 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000456/0.03432, allocations: 130 kB / 0.5795 GB, free: 5.797 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00681/0.04113, allocations: 8.318 MB / 0.5877 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001006/0.04123, allocations: 173.8 kB / 0.5878 GB, free: 12.39 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001042/0.04134, allocations: 38.97 kB / 0.5879 GB, free: 12.35 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.04144, allocations: 108.4 kB / 0.588 GB, free: 12.24 MB / 0.5105 GB Notification: Performance of SimCode: time 9.02e-07/0.04144, allocations: 0 / 0.588 GB, free: 12.24 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02709/0.06853, allocations: 17.2 MB / 0.6048 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.33/7.399, allocations: 6.25 kB / 0.6048 GB, free: 11.49 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_Pulse.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.758940010331571] Failed to read output from testmodel.py, exit status != 0: 7.487967840395868 7.495907544 7.480635273 Calling exit ...