Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.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: 113.2 kB / 17.13 MB, free: 5.754 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.001398/0.001398, allocations: 192.6 kB / 20.08 MB, free: 2.848 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.479/1.479, allocations: 225.6 MB / 248.5 MB, free: 3.617 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.88/0.88, allocations: 129.2 MB / 432.5 MB, free: 13.25 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.IntegerReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 71.89 kB / 0.5987 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4194/0.4214, allocations: 83.44 MB / 0.6802 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.003016/0.4245, allocations: 1.77 MB / 0.6819 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001661/0.4261, allocations: 1.114 MB / 0.683 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.511e-05/0.4262, allocations: 2.25 kB / 0.683 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002804/0.4265, allocations: 66.44 kB / 0.6831 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002308/0.4267, allocations: 78.45 kB / 0.6831 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006519/0.4274, allocations: 228.4 kB / 0.6834 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001986/0.4276, allocations: 141.9 kB / 0.6835 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.4277, allocations: 15.7 kB / 0.6835 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.958e-05/0.4278, allocations: 64.58 kB / 0.6836 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.4279, allocations: 72.17 kB / 0.6836 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.841e-05/0.4279, allocations: 7.594 kB / 0.6836 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001764/0.4281, allocations: 69.02 kB / 0.6837 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.112e-05/0.4282, allocations: 49.95 kB / 0.6838 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.329e-05/0.4282, allocations: 60.17 kB / 0.6838 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003013/0.4285, allocations: 193.5 kB / 0.684 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.4286, allocations: 5.25 kB / 0.684 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.423e-06/0.4286, allocations: 0 / 0.684 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.399e-05/0.4286, allocations: 0 / 0.684 GB, free: 3.078 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007466/0.4293, allocations: 494.8 kB / 0.6845 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.4294, allocations: 9.656 kB / 0.6845 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.341e-05/0.4294, allocations: 36.03 kB / 0.6845 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.213e-05/0.4295, allocations: 20.27 kB / 0.6845 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000419/0.4299, allocations: 260.7 kB / 0.6848 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.4299, allocations: 6.875 kB / 0.6848 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.4299, allocations: 6.438 kB / 0.6848 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002212/0.4301, allocations: 91.77 kB / 0.6849 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.4302, allocations: 1.344 kB / 0.6849 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.4302, allocations: 4 kB / 0.6849 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.893e-05/0.4302, allocations: 2.625 kB / 0.6849 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.4303, allocations: 37.69 kB / 0.6849 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005144/0.4308, allocations: 361.3 kB / 0.6853 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002605/0.4311, allocations: 85.62 kB / 0.6854 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.697e-05/0.4311, allocations: 30.06 kB / 0.6854 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.4312, allocations: 5.188 kB / 0.6854 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001859/0.4314, allocations: 87.91 kB / 0.6855 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.764e-06/0.4314, allocations: 0 / 0.6855 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0003844/0.4317, allocations: 135.4 kB / 0.6856 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.4318, allocations: 104.9 kB / 0.6857 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002436/0.432, allocations: 268 kB / 0.686 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.432, allocations: 26.8 kB / 0.686 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.711e-05/0.4321, allocations: 128.3 kB / 0.6861 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.476e-05/0.4321, allocations: 23.83 kB / 0.6861 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.247e-05/0.4322, allocations: 23.28 kB / 0.6862 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.056e-05/0.4322, allocations: 330.7 kB / 0.6865 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.932e-05/0.4323, allocations: 26.73 kB / 0.6865 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.87e-05/0.4324, allocations: 68.47 kB / 0.6866 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.4325, allocations: 78.2 kB / 0.6866 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4325, allocations: 0 / 0.6866 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002012/0.4327, allocations: 112.4 kB / 0.6867 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.4327, allocations: 5.844 kB / 0.6867 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.4327, allocations: 0 / 0.6867 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.4328, allocations: 2.031 kB / 0.6868 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.401e-05/0.4329, allocations: 18.02 kB / 0.6868 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.4329, allocations: 5.094 kB / 0.6868 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.335e-05/0.4329, allocations: 10.67 kB / 0.6868 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.527e-06/0.4329, allocations: 2.531 kB / 0.6868 GB, free: 0.5273 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: 8 ($PRE.intTab.combiTimeTable.nextTimeEvent,$whenCondition1,intRep.y[2],intRep.y[1],intTab.combiTimeTable.nextTimeEventScaled,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent,intTab.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 9.644e-05/0.433, allocations: 151.3 kB / 0.6869 GB, free: 400 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.725e-05/0.4331, allocations: 15.69 kB / 0.6869 GB, free: 392 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.413e-05/0.4331, allocations: 20.23 kB / 0.687 GB, free: 380 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.367e-06/0.4331, allocations: 1.312 kB / 0.687 GB, free: 380 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.4331, allocations: 1.344 kB / 0.687 GB, free: 380 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.4331, allocations: 3.938 kB / 0.687 GB, free: 376 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001425/0.4333, allocations: 230.3 kB / 0.6872 GB, free: 124 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.4333, allocations: 3.938 kB / 0.6872 GB, free: 120 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.891e-05/0.4333, allocations: 9.203 kB / 0.6872 GB, free: 116 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.4333, allocations: 1.281 kB / 0.6872 GB, free: 116 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.4333, allocations: 1.25 kB / 0.6872 GB, free: 116 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.4333, allocations: 0 / 0.6872 GB, free: 116 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.4333, allocations: 4 kB / 0.6872 GB, free: 112 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002325/0.4335, allocations: 148.2 kB / 0.6873 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.75e-05/0.4336, allocations: 95.08 kB / 0.6874 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.074e-05/0.4337, allocations: 5 kB / 0.6874 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.792e-05/0.4337, allocations: 6.016 kB / 0.6875 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.264e-05/0.4338, allocations: 16.33 kB / 0.6875 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.4338, allocations: 3.094 kB / 0.6875 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001984/0.434, allocations: 195.6 kB / 0.6877 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.434, allocations: 3.938 kB / 0.6877 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002963/0.4343, allocations: 37.27 kB / 0.6877 GB, free: 15.73 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: 6 ($whenCondition1,intTab.y,intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEventScaled,intTab.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.002157/0.4364, allocations: 0.9873 MB / 0.6887 GB, free: 15 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002567/0.4367, allocations: 75.2 kB / 0.6887 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.4367, allocations: 0 / 0.6887 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.515e-05/0.4368, allocations: 31.22 kB / 0.6888 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003369/0.4371, allocations: 53.2 kB / 0.6888 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00271/0.4398, allocations: 1.948 MB / 0.6907 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003842/0.4402, allocations: 0.7266 MB / 0.6914 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001013/0.4403, allocations: 23.05 kB / 0.6914 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.755e-05/0.4404, allocations: 46.08 kB / 0.6915 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of SimCode: time 7.62e-07/0.4404, allocations: 0 / 0.6915 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02869/0.4691, allocations: 4.715 MB / 0.6961 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.277/8.746, allocations: 4.906 kB / 0.6961 GB, free: 10.12 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_IntegerReplicator_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_IntegerReplicator.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.29384919675067] Failed to read output from testmodel.py, exit status != 0: 8.874176426790655 8.893322019 8.461893285 Calling exit ...