Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.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.001727/0.001727, allocations: 112.5 kB / 21.22 MB, free: 0.7305 MB / 14.72 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.002053/0.002053, allocations: 212.2 kB / 24.53 MB, free: 4.07 MB / 14.72 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 1.362/1.362, allocations: 230.6 MB / 258.3 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 47.92 kB / 378.6 MB, free: 3.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2653, allocations: 53.36 MB / 431.9 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003509/0.2688, allocations: 1.942 MB / 433.9 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002068/0.2709, allocations: 1.247 MB / 435.1 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.271, allocations: 7.938 kB / 435.1 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006015/0.2716, allocations: 163.4 kB / 435.3 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004185/0.2721, allocations: 159.4 kB / 435.4 MB, free: 3.359 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004757/0.2725, allocations: 175.4 kB / 435.6 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002614/0.2728, allocations: 199.4 kB / 435.8 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.2729, allocations: 21.8 kB / 435.8 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.273, allocations: 87.69 kB / 435.9 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.2731, allocations: 83.56 kB / 436 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.2732, allocations: 8 kB / 436 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001342/0.2733, allocations: 67.95 kB / 436.1 MB, free: 2.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.96e-05/0.2734, allocations: 39.84 kB / 436.1 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.926e-05/0.2735, allocations: 83.41 kB / 436.2 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003216/0.2738, allocations: 219.9 kB / 436.4 MB, free: 2.402 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2738, allocations: 0 / 436.4 MB, free: 2.402 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2738, allocations: 0 / 436.4 MB, free: 2.402 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.2738, allocations: 0 / 436.4 MB, free: 2.402 MB / 334.1 MB 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.000698/0.2745, allocations: 458.7 kB / 436.8 MB, free: 1.918 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.2745, allocations: 15.95 kB / 436.9 MB, free: 1.902 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.814e-05/0.2745, allocations: 4.188 kB / 436.9 MB, free: 1.898 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.438e-05/0.2746, allocations: 34.75 kB / 436.9 MB, free: 1.855 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.944e-05/0.2746, allocations: 28.73 kB / 436.9 MB, free: 1.828 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003195/0.2749, allocations: 217.1 kB / 437.1 MB, free: 1.594 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.275, allocations: 4.125 kB / 437.1 MB, free: 1.59 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.275, allocations: 16 kB / 437.2 MB, free: 1.574 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003315/0.2753, allocations: 163.5 kB / 437.3 MB, free: 1.387 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.2753, allocations: 0 / 437.3 MB, free: 1.387 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.2753, allocations: 0 / 437.3 MB, free: 1.387 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.2753, allocations: 4 kB / 437.3 MB, free: 1.383 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.2754, allocations: 43.91 kB / 437.4 MB, free: 1.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005395/0.276, allocations: 417.7 kB / 437.8 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002404/0.2762, allocations: 130.5 kB / 437.9 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.973e-05/0.2763, allocations: 63.41 kB / 438 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.2763, allocations: 0 / 438 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001677/0.2765, allocations: 93 kB / 438.1 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.2765, allocations: 0 / 438.1 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003628/0.2769, allocations: 157.6 kB / 438.2 MB, free: 380 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.277, allocations: 162.2 kB / 438.4 MB, free: 180 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003048/0.2773, allocations: 277.1 kB / 438.6 MB, free: 15.89 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.2773, allocations: 33.7 kB / 438.7 MB, free: 15.85 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.149e-05/0.2774, allocations: 120.4 kB / 438.8 MB, free: 15.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.769e-05/0.2774, allocations: 23.75 kB / 438.8 MB, free: 15.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.522e-05/0.2775, allocations: 42.03 kB / 438.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.2776, allocations: 326.8 kB / 439.2 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.471e-05/0.2777, allocations: 27.98 kB / 439.2 MB, free: 15.3 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.2778, allocations: 90.72 kB / 439.3 MB, free: 15.19 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.2779, allocations: 85.12 kB / 439.4 MB, free: 15.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.278, allocations: 0 / 439.4 MB, free: 15.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002874/0.2782, allocations: 133.6 kB / 439.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.2783, allocations: 8 kB / 439.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.2783, allocations: 0 / 439.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.2783, allocations: 4 kB / 439.5 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.643e-05/0.2783, allocations: 8 kB / 439.5 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.2784, allocations: 11.88 kB / 439.5 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.945e-05/0.2784, allocations: 11.94 kB / 439.5 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.2784, allocations: 8 kB / 439.6 MB, free: 14.9 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,shiftSample1.y,hold1.y,hold1.u,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * 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.0001385/0.2786, allocations: 145.9 kB / 439.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.114e-05/0.2787, allocations: 65.5 kB / 439.8 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002394/0.2789, allocations: 107.4 kB / 439.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.86e-06/0.2789, allocations: 4 kB / 439.9 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.2789, allocations: 7.922 kB / 439.9 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.2789, allocations: 3.984 kB / 439.9 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002183/0.2792, allocations: 204.6 kB / 440.1 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.2792, allocations: 4 kB / 440.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.696e-05/0.2792, allocations: 8.062 kB / 440.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.2792, allocations: 8.062 kB / 440.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.2792, allocations: 4 kB / 440.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2792, allocations: 0 / 440.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.2792, allocations: 3.938 kB / 440.1 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002925/0.2795, allocations: 183.3 kB / 440.3 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.897e-05/0.2796, allocations: 35.84 kB / 440.3 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.03e-05/0.2796, allocations: 4 kB / 440.3 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.364e-05/0.2797, allocations: 7.984 kB / 440.3 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.808e-05/0.2797, allocations: 11.94 kB / 440.3 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.2797, allocations: 7.984 kB / 440.4 MB, free: 14.01 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002097/0.2799, allocations: 200.5 kB / 440.5 MB, free: 13.81 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2799, allocations: 0 / 440.5 MB, free: 13.81 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002457/0.2802, allocations: 31.94 kB / 440.6 MB, free: 13.78 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,hold1.y,hold1.u,shiftSample1.y,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * 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.001952/0.2821, allocations: 1.023 MB / 441.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002123/0.2823, allocations: 75.91 kB / 441.7 MB, free: 12.81 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2823, allocations: 0 / 441.7 MB, free: 12.81 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.712e-05/0.2824, allocations: 31.92 kB / 441.7 MB, free: 12.78 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004231/0.2828, allocations: 77.55 kB / 441.8 MB, free: 12.71 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002371/0.2852, allocations: 2.024 MB / 443.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003705/0.2856, allocations: 0.7398 MB / 444.5 MB, free: 9.781 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.72e-05/0.2856, allocations: 25.47 kB / 444.6 MB, free: 9.758 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.11e-05/0.2857, allocations: 55.41 kB / 444.6 MB, free: 9.703 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.2857, allocations: 0 / 444.6 MB, free: 9.703 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02575/0.3115, allocations: 5.042 MB / 449.7 MB, free: 4.75 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/10.84, allocations: 11.98 kB / 449.7 MB, free: 4.738 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold_fmu --startTime=0 --stopTime=0.2 --stepSize=3.98963e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.222753431997262] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y', 'hold1.y'] 11.053392125992104 11.081759371 10.802662434 Calling exit ...