Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.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.001322/0.001322, allocations: 119.9 kB / 17.13 MB, free: 5.918 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.001357/0.001357, allocations: 191.7 kB / 20.08 MB, free: 2.988 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.494/1.494, allocations: 225.6 MB / 248.5 MB, free: 3.613 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 0.858/0.858, allocations: 129.2 MB / 432.5 MB, free: 13.27 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.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 67.89 kB / 0.5987 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4077/0.4097, allocations: 83.45 MB / 0.6802 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.00307/0.4128, allocations: 1.783 MB / 0.6819 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001596/0.4144, allocations: 1.038 MB / 0.6829 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.4145, allocations: 1.219 kB / 0.6829 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007339/0.4152, allocations: 165.5 kB / 0.6831 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003167/0.4155, allocations: 109 kB / 0.6832 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004999/0.416, allocations: 183 kB / 0.6834 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002126/0.4162, allocations: 161.2 kB / 0.6835 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.4164, allocations: 15.61 kB / 0.6835 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.4165, allocations: 74.97 kB / 0.6836 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.4166, allocations: 71.48 kB / 0.6837 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.627e-05/0.4166, allocations: 7.25 kB / 0.6837 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001485/0.4168, allocations: 64.03 kB / 0.6838 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.761e-05/0.4168, allocations: 44.41 kB / 0.6838 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.96e-05/0.4169, allocations: 68.25 kB / 0.6839 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002854/0.4172, allocations: 192.8 kB / 0.684 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.4172, allocations: 0 / 0.684 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.332e-06/0.4172, allocations: 1.375 kB / 0.684 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.4172, allocations: 0 / 0.684 GB, free: 3.07 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006735/0.4179, allocations: 0.5023 MB / 0.6845 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.4179, allocations: 10.41 kB / 0.6845 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.132e-05/0.4179, allocations: 31.84 kB / 0.6846 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.667e-05/0.418, allocations: 17.22 kB / 0.6846 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000248/0.4182, allocations: 243.5 kB / 0.6848 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.4182, allocations: 11.03 kB / 0.6848 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/0.4183, allocations: 7.562 kB / 0.6848 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.4184, allocations: 96.11 kB / 0.6849 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.4184, allocations: 0 / 0.6849 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.4185, allocations: 4 kB / 0.6849 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.785e-05/0.4185, allocations: 2.781 kB / 0.6849 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.955e-05/0.4186, allocations: 32.17 kB / 0.685 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004296/0.419, allocations: 362.9 kB / 0.6853 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.4192, allocations: 68.58 kB / 0.6854 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.406e-05/0.4192, allocations: 30.66 kB / 0.6854 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.4193, allocations: 1.094 kB / 0.6854 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001552/0.4194, allocations: 84.88 kB / 0.6855 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.472e-06/0.4194, allocations: 5.062 kB / 0.6855 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0003137/0.4197, allocations: 139.8 kB / 0.6856 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.4198, allocations: 82.19 kB / 0.6857 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/0.42, allocations: 268.8 kB / 0.686 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.42, allocations: 27.17 kB / 0.686 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.883e-05/0.4201, allocations: 124.4 kB / 0.6861 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/0.4201, allocations: 23.33 kB / 0.6861 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.02e-05/0.4201, allocations: 27.67 kB / 0.6862 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.049e-05/0.4202, allocations: 327.1 kB / 0.6865 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.235e-05/0.4203, allocations: 26.86 kB / 0.6865 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.806e-05/0.4203, allocations: 62.31 kB / 0.6866 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.4205, allocations: 79.7 kB / 0.6866 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.4205, allocations: 0 / 0.6866 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000192/0.4206, allocations: 115.2 kB / 0.6867 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.4207, allocations: 8.875 kB / 0.6868 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.4207, allocations: 0 / 0.6868 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.4207, allocations: 1.188 kB / 0.6868 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.643e-05/0.4208, allocations: 16.45 kB / 0.6868 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.4208, allocations: 1.344 kB / 0.6868 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.72e-05/0.4208, allocations: 11.91 kB / 0.6868 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.4208, allocations: 2.719 kB / 0.6868 GB, free: 0.5742 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.booTab.combiTimeTable.nextTimeEvent,$whenCondition1,booRep.y[4],booRep.y[3],booRep.y[2],booRep.y[1],booTab.combiTimeTable.nextTimeEventScaled,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent,booTab.y) * 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: 1 * 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 0.0001025/0.4209, allocations: 144.6 kB / 0.6869 GB, free: 452 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.513e-05/0.421, allocations: 15.22 kB / 0.6869 GB, free: 444 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.081e-05/0.421, allocations: 18.58 kB / 0.687 GB, free: 432 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.421, allocations: 2.812 kB / 0.687 GB, free: 432 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/0.421, allocations: 1.562 kB / 0.687 GB, free: 432 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.421, allocations: 3.938 kB / 0.687 GB, free: 428 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.4212, allocations: 226.5 kB / 0.6872 GB, free: 180 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.4212, allocations: 4 kB / 0.6872 GB, free: 176 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.945e-05/0.4212, allocations: 7.938 kB / 0.6872 GB, free: 172 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.4212, allocations: 7.969 kB / 0.6872 GB, free: 164 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.4212, allocations: 5.281 kB / 0.6872 GB, free: 160 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4212, allocations: 1.156 kB / 0.6872 GB, free: 160 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.4212, allocations: 0 / 0.6872 GB, free: 160 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002034/0.4214, allocations: 142.2 kB / 0.6873 GB, free: 52 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.409e-05/0.4215, allocations: 102.7 kB / 0.6874 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/0.4215, allocations: 5.312 kB / 0.6874 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.829e-05/0.4216, allocations: 2.531 kB / 0.6874 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.581e-05/0.4216, allocations: 10.8 kB / 0.6875 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.4216, allocations: 2.406 kB / 0.6875 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002059/0.4218, allocations: 197.2 kB / 0.6876 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4218, allocations: 3.938 kB / 0.6876 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002526/0.4221, allocations: 34.95 kB / 0.6877 GB, free: 15.78 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,booTab.y,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * 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.001944/0.424, allocations: 0.9925 MB / 0.6887 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002165/0.4243, allocations: 69.09 kB / 0.6887 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4243, allocations: 3.938 kB / 0.6887 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.12e-05/0.4243, allocations: 36.59 kB / 0.6888 GB, free: 15 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/0.4246, allocations: 43.05 kB / 0.6888 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002337/0.427, allocations: 1.96 MB / 0.6907 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/0.4273, allocations: 0.7232 MB / 0.6914 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.322e-05/0.4274, allocations: 27.12 kB / 0.6914 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.308e-05/0.4275, allocations: 44.42 kB / 0.6915 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of SimCode: time 3e-07/0.4275, allocations: 0 / 0.6915 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02875/0.4562, allocations: 4.552 MB / 0.6959 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.214/8.67, allocations: 2.094 kB / 0.6959 GB, free: 10.25 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_BooleanReplicator.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.259834494907409] Failed to read output from testmodel.py, exit status != 0: 8.79742694599554 8.819647547 8.398207302 Calling exit ...