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.00117/0.00117, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001307/0.001307, allocations: 212.9 kB / 24.51 MB, free: 3.945 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.353/1.353, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.001516/0.001516, allocations: 55.92 kB / 378.5 MB, free: 2.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.2462, allocations: 53.36 MB / 431.9 MB, free: 6.629 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003611/0.2499, allocations: 1.894 MB / 433.7 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002103/0.252, allocations: 1.165 MB / 434.9 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001771/0.2521, allocations: 7.938 kB / 434.9 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006817/0.2528, allocations: 155.5 kB / 435.1 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004462/0.2533, allocations: 167.3 kB / 435.2 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005193/0.2538, allocations: 178.7 kB / 435.4 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002953/0.2541, allocations: 195.5 kB / 435.6 MB, free: 2.871 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.2542, allocations: 21.8 kB / 435.6 MB, free: 2.848 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001514/0.2543, allocations: 87.52 kB / 435.7 MB, free: 2.762 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.2545, allocations: 87.61 kB / 435.8 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.591e-05/0.2545, allocations: 8 kB / 435.8 MB, free: 2.668 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001595/0.2547, allocations: 67.88 kB / 435.9 MB, free: 2.602 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.758e-05/0.2547, allocations: 43.84 kB / 435.9 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.222e-05/0.2548, allocations: 59.59 kB / 436 MB, free: 2.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003497/0.2552, allocations: 213.4 kB / 436.2 MB, free: 2.293 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.2552, allocations: 4 kB / 436.2 MB, free: 2.289 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2552, allocations: 4 kB / 436.2 MB, free: 2.285 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.2552, allocations: 0 / 436.2 MB, free: 2.285 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.0008051/0.256, allocations: 462.6 kB / 436.6 MB, free: 1.797 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.256, allocations: 12.03 kB / 436.6 MB, free: 1.785 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.36e-05/0.2561, allocations: 192 / 436.6 MB, free: 1.785 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.125e-05/0.2561, allocations: 42.73 kB / 436.7 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.25e-05/0.2562, allocations: 24.8 kB / 436.7 MB, free: 1.711 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003694/0.2565, allocations: 209.1 kB / 436.9 MB, free: 1.484 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.2566, allocations: 16.12 kB / 436.9 MB, free: 1.469 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.942e-05/0.2566, allocations: 4 kB / 436.9 MB, free: 1.465 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000377/0.2569, allocations: 195.6 kB / 437.1 MB, free: 1.242 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.257, allocations: 0 / 437.1 MB, free: 1.242 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.257, allocations: 0 / 437.1 MB, free: 1.242 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.257, allocations: 4 kB / 437.1 MB, free: 1.238 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.2571, allocations: 39.92 kB / 437.2 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005964/0.2577, allocations: 421.6 kB / 437.6 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002645/0.258, allocations: 126.5 kB / 437.7 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.2581, allocations: 51.42 kB / 437.8 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-05/0.2581, allocations: 11.92 kB / 437.8 MB, free: 0.5 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001809/0.2583, allocations: 89.11 kB / 437.9 MB, free: 404 kB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.552e-06/0.2583, allocations: 0 / 437.9 MB, free: 404 kB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004215/0.2587, allocations: 173.4 kB / 438 MB, free: 224 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.2588, allocations: 158.2 kB / 438.2 MB, free: 28 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000324/0.2591, allocations: 288.9 kB / 438.5 MB, free: 15.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.2592, allocations: 29.7 kB / 438.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.694e-05/0.2593, allocations: 120.4 kB / 438.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.213e-05/0.2593, allocations: 23.83 kB / 438.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.238e-05/0.2593, allocations: 29.67 kB / 438.7 MB, free: 15.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.2595, allocations: 334.8 kB / 439 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.584e-05/0.2595, allocations: 24.36 kB / 439 MB, free: 15.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.2597, allocations: 130.3 kB / 439.1 MB, free: 14.99 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.2598, allocations: 89.08 kB / 439.2 MB, free: 14.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.2598, allocations: 0 / 439.2 MB, free: 14.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002321/0.2601, allocations: 137.6 kB / 439.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.2601, allocations: 7.938 kB / 439.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.2601, allocations: 4 kB / 439.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.2601, allocations: 0 / 439.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.303e-05/0.2602, allocations: 15.94 kB / 439.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.2602, allocations: 7.938 kB / 439.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.971e-05/0.2603, allocations: 15.94 kB / 439.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.2603, allocations: 4 kB / 439.4 MB, free: 14.69 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.0001347/0.2604, allocations: 141.8 kB / 439.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.466e-05/0.2605, allocations: 77.61 kB / 439.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002494/0.2608, allocations: 119.4 kB / 439.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.2608, allocations: 0 / 439.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.2608, allocations: 11.88 kB / 439.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.2608, allocations: 0 / 439.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002101/0.261, allocations: 188.6 kB / 439.9 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/0.261, allocations: 4.312 kB / 439.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.327e-05/0.261, allocations: 7.984 kB / 440 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.261, allocations: 4 kB / 440 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.2611, allocations: 4 kB / 440 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.2611, allocations: 4.062 kB / 440 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.2611, allocations: 11.88 kB / 440 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000278/0.2613, allocations: 183.5 kB / 440.2 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.627e-05/0.2614, allocations: 27.84 kB / 440.2 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.709e-05/0.2614, allocations: 11.98 kB / 440.2 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.602e-05/0.2615, allocations: 4 kB / 440.2 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.217e-05/0.2616, allocations: 11.92 kB / 440.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.2616, allocations: 8 kB / 440.2 MB, free: 13.79 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002031/0.2618, allocations: 204.5 kB / 440.4 MB, free: 13.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2618, allocations: 4 kB / 440.4 MB, free: 13.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002621/0.262, allocations: 35.88 kB / 440.5 MB, free: 13.55 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 (12): * Single equations (assignments): 10 * 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.002051/0.2641, allocations: 1.057 MB / 441.5 MB, free: 12.65 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002466/0.2643, allocations: 79.84 kB / 441.6 MB, free: 12.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2643, allocations: 0 / 441.6 MB, free: 12.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.211e-05/0.2644, allocations: 40.23 kB / 441.6 MB, free: 12.53 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004169/0.2648, allocations: 78.98 kB / 441.7 MB, free: 12.46 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002356/0.2672, allocations: 2.029 MB / 443.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001207/0.2673, allocations: 131.8 kB / 443.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.114e-05/0.2674, allocations: 21.42 kB / 443.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.13e-05/0.2675, allocations: 51.42 kB / 443.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2675, allocations: 0 / 443.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02741/0.2949, allocations: 5.313 MB / 449.3 MB, free: 4.863 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/10.91, allocations: 8 kB / 449.3 MB, free: 4.855 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.233365888008848] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y', 'hold1.y'] 11.117681909003295 11.133692258 10.875371486 Calling exit ...