Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.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.002038/0.002038, allocations: 110.8 kB / 17.08 MB, free: 5.988 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.002291/0.002291, allocations: 194.7 kB / 20.03 MB, free: 3.055 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.604/1.604, allocations: 222.9 MB / 245.7 MB, free: 4.199 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.155/1.155, allocations: 147.7 MB / 445.6 MB, free: 8.418 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 67.19 kB / 0.611 GB, free: 37.62 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1647, allocations: 83.15 MB / 0.6922 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002624/0.1674, allocations: 0.873 MB / 0.693 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002313/0.1698, allocations: 1.172 MB / 0.6942 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.1699, allocations: 1.625 kB / 0.6942 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 5.96e-05/0.17, allocations: 11.86 kB / 0.6942 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001299/0.1701, allocations: 17.25 kB / 0.6942 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008047/0.171, allocations: 153.4 kB / 0.6943 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003814/0.1714, allocations: 171.3 kB / 0.6945 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.1715, allocations: 40.75 kB / 0.6945 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001848/0.1717, allocations: 65.64 kB / 0.6946 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001569/0.1719, allocations: 72 kB / 0.6947 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.945e-05/0.1719, allocations: 15.12 kB / 0.6947 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.1721, allocations: 28.61 kB / 0.6947 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.224e-05/0.1721, allocations: 25.42 kB / 0.6947 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.1722, allocations: 64.2 kB / 0.6948 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000313/0.1725, allocations: 174.6 kB / 0.695 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.1725, allocations: 0 / 0.695 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.235e-06/0.1726, allocations: 0 / 0.695 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.267e-06/0.1726, allocations: 4 kB / 0.695 GB, free: 11.13 MB / 0.5137 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.0008684/0.1734, allocations: 458.1 kB / 0.6954 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/0.1735, allocations: 9.625 kB / 0.6954 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.969e-05/0.1736, allocations: 41.5 kB / 0.6954 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.809e-05/0.1737, allocations: 21.08 kB / 0.6955 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006092/0.1743, allocations: 248 kB / 0.6957 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.601e-05/0.1743, allocations: 9.875 kB / 0.6957 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.633e-05/0.1744, allocations: 13.95 kB / 0.6957 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002715/0.1746, allocations: 96.88 kB / 0.6958 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.1747, allocations: 1.375 kB / 0.6958 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.1747, allocations: 4 kB / 0.6958 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.882e-06/0.1747, allocations: 2.75 kB / 0.6958 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001947/0.1749, allocations: 45.58 kB / 0.6959 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008528/0.1758, allocations: 385.9 kB / 0.6962 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001401/0.1759, allocations: 38.92 kB / 0.6963 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.624e-05/0.176, allocations: 25.84 kB / 0.6963 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.1761, allocations: 7.984 kB / 0.6963 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003139/0.1764, allocations: 96.12 kB / 0.6964 GB, free: 9.758 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 1.864e-06/0.1764, allocations: 0 / 0.6964 GB, free: 9.758 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.0004715/0.1769, allocations: 140.3 kB / 0.6965 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.1769, allocations: 61.66 kB / 0.6966 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.1771, allocations: 144.8 kB / 0.6967 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.95e-05/0.1771, allocations: 31.17 kB / 0.6968 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.483e-05/0.1772, allocations: 106.8 kB / 0.6969 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.964e-05/0.1772, allocations: 31.81 kB / 0.6969 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.097e-05/0.1773, allocations: 48.97 kB / 0.6969 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.1775, allocations: 322.2 kB / 0.6972 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.1777, allocations: 50.78 kB / 0.6973 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002139/0.1779, allocations: 130.3 kB / 0.6974 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000337/0.1782, allocations: 198.1 kB / 0.6976 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1782, allocations: 5.344 kB / 0.6976 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004995/0.1787, allocations: 248.8 kB / 0.6979 GB, free: 8.457 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.242e-05/0.1788, allocations: 38.48 kB / 0.6979 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.1788, allocations: 2.938 kB / 0.6979 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.1788, allocations: 4.219 kB / 0.6979 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.1789, allocations: 29.48 kB / 0.6979 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.179, allocations: 8.484 kB / 0.6979 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002292/0.1792, allocations: 41.86 kB / 0.698 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.949e-05/0.1792, allocations: 21.61 kB / 0.698 GB, free: 8.375 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (booleanPulse.y,$PRE.booleanPulse.y,$whenCondition4,$whenCondition1,$whenCondition2,sampleTrigger.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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 0.0001219/0.1794, allocations: 126 kB / 0.6981 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.971e-05/0.1794, allocations: 9.453 kB / 0.6981 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.049e-05/0.1794, allocations: 11.47 kB / 0.6981 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.1795, allocations: 5.312 kB / 0.6981 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.1795, allocations: 4 kB / 0.6981 GB, free: 8.227 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.1795, allocations: 3.984 kB / 0.6981 GB, free: 8.223 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006391/0.1801, allocations: 395.3 kB / 0.6985 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.1801, allocations: 0 / 0.6985 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.494e-05/0.1802, allocations: 18.02 kB / 0.6985 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1802, allocations: 1.375 kB / 0.6985 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.1803, allocations: 1.375 kB / 0.6985 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1803, allocations: 4 kB / 0.6985 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.1803, allocations: 1.375 kB / 0.6985 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000461/0.1807, allocations: 244.5 kB / 0.6988 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.432e-05/0.1808, allocations: 91.38 kB / 0.6989 GB, free: 7.547 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.603e-05/0.1809, allocations: 5.438 kB / 0.6989 GB, free: 7.543 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.434e-05/0.181, allocations: 15.75 kB / 0.6989 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/0.181, allocations: 8.578 kB / 0.6989 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.181, allocations: 2.781 kB / 0.6989 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.07e-05/0.1811, allocations: 116.1 kB / 0.699 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1811, allocations: 0 / 0.699 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003062/0.1814, allocations: 30 kB / 0.699 GB, free: 7.418 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intDef.y,intWitRes1.y,intWitRes2.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0008153/0.1823, allocations: 0.7826 MB / 0.6998 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00044/0.1827, allocations: 179.8 kB / 0.7 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.1827, allocations: 4.109 kB / 0.7 GB, free: 6.418 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.1829, allocations: 39.92 kB / 0.7 GB, free: 6.379 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/0.1832, allocations: 16.36 kB / 0.7 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002529/0.1857, allocations: 1.974 MB / 0.702 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.1861, allocations: 0.7083 MB / 0.7026 GB, free: 3.492 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.228e-05/0.1861, allocations: 12.64 kB / 0.7027 GB, free: 3.48 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.424e-05/0.1862, allocations: 39.42 kB / 0.7027 GB, free: 3.441 MB / 0.5137 GB Notification: Performance of SimCode: time 3.11e-07/0.1862, allocations: 4 kB / 0.7027 GB, free: 3.438 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03605/0.2223, allocations: 3.159 MB / 0.7058 GB, free: 404 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.061/8.284, allocations: 11.2 kB / 0.7058 GB, free: 396 kB / 0.5137 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.34465663600713] Failed to read output from testmodel.py, exit status != 0: 8.633202351862565 8.366597441 8.191122964 Calling exit ...