Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.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.001252/0.001252, 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.001329/0.001329, allocations: 212.6 kB / 24.51 MB, free: 3.941 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.375/1.375, 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.SubSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 47.92 kB / 378.5 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.2478, allocations: 53.36 MB / 431.9 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.003322/0.2511, allocations: 1.89 MB / 433.7 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001912/0.253, allocations: 1.126 MB / 434.9 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.2531, allocations: 11.94 kB / 434.9 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006137/0.2537, allocations: 158.4 kB / 435 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003775/0.2541, allocations: 159.3 kB / 435.2 MB, free: 3.293 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004446/0.2546, allocations: 171.5 kB / 435.4 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002571/0.2548, allocations: 187.5 kB / 435.5 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.2549, allocations: 25.73 kB / 435.6 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.255, allocations: 83.56 kB / 435.6 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.2552, allocations: 75.69 kB / 435.7 MB, free: 2.758 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.468e-05/0.2552, allocations: 8 kB / 435.7 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001431/0.2553, allocations: 59.95 kB / 435.8 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.697e-05/0.2554, allocations: 51.78 kB / 435.8 MB, free: 2.641 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.123e-05/0.2555, allocations: 55.59 kB / 435.9 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003145/0.2558, allocations: 209.4 kB / 436.1 MB, free: 2.383 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.2558, allocations: 0 / 436.1 MB, free: 2.383 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2558, allocations: 0 / 436.1 MB, free: 2.383 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.2558, allocations: 0 / 436.1 MB, free: 2.383 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007682/0.2566, allocations: 462.7 kB / 436.5 MB, free: 1.895 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.2566, allocations: 8.031 kB / 436.6 MB, free: 1.887 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.259e-05/0.2566, allocations: 4.188 kB / 436.6 MB, free: 1.883 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.145e-05/0.2567, allocations: 38.75 kB / 436.6 MB, free: 1.836 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.138e-05/0.2567, allocations: 20.8 kB / 436.6 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003126/0.257, allocations: 205.2 kB / 436.8 MB, free: 1.59 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.2571, allocations: 12.12 kB / 436.8 MB, free: 1.578 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.2571, allocations: 8 kB / 436.8 MB, free: 1.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003447/0.2574, allocations: 175.8 kB / 437 MB, free: 1.371 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.2574, allocations: 3.984 kB / 437 MB, free: 1.367 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.2575, allocations: 8 kB / 437 MB, free: 1.359 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.2575, allocations: 0 / 437 MB, free: 1.359 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.2576, allocations: 31.98 kB / 437.1 MB, free: 1.328 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004746/0.258, allocations: 329.4 kB / 437.4 MB, free: 0.957 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002849/0.2583, allocations: 111.9 kB / 437.5 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.871e-05/0.2584, allocations: 42.56 kB / 437.5 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.2584, allocations: 0 / 437.5 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001769/0.2586, allocations: 87.31 kB / 437.6 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 3.246e-06/0.2586, allocations: 3.984 kB / 437.6 MB, free: 0.668 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003773/0.259, allocations: 141.5 kB / 437.8 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.959e-05/0.2591, allocations: 136.8 kB / 437.9 MB, free: 368 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003124/0.2594, allocations: 281 kB / 438.2 MB, free: 80 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.2594, allocations: 29.7 kB / 438.2 MB, free: 44 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.2595, allocations: 120.1 kB / 438.3 MB, free: 15.92 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.66e-05/0.2596, allocations: 15.91 kB / 438.3 MB, free: 15.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-05/0.2596, allocations: 33.66 kB / 438.4 MB, free: 15.87 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.2598, allocations: 326.8 kB / 438.7 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.8e-05/0.2598, allocations: 27.86 kB / 438.7 MB, free: 15.51 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.26, allocations: 129.3 kB / 438.8 MB, free: 15.35 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.2601, allocations: 84.25 kB / 438.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.2601, allocations: 0 / 438.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002282/0.2603, allocations: 117.5 kB / 439 MB, free: 15.13 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.2604, allocations: 4 kB / 439 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.2604, allocations: 4 kB / 439 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.2604, allocations: 0 / 439 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.735e-05/0.2605, allocations: 12.12 kB / 439 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/0.2605, allocations: 7.938 kB / 439.1 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.412e-05/0.2606, allocations: 15.88 kB / 439.1 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.2606, allocations: 8 kB / 439.1 MB, free: 15.08 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u,subSample1.y,subSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001466/0.2607, allocations: 145.8 kB / 439.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.798e-05/0.2608, allocations: 57.61 kB / 439.3 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002546/0.2611, allocations: 115.3 kB / 439.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.2611, allocations: 0 / 439.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.2611, allocations: 11.92 kB / 439.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.2611, allocations: 4.375 kB / 439.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002253/0.2613, allocations: 192.7 kB / 439.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.2613, allocations: 4 kB / 439.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.555e-05/0.2613, allocations: 4 kB / 439.6 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.2614, allocations: 4 kB / 439.6 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.2614, allocations: 3.984 kB / 439.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.2614, allocations: 0 / 439.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.2614, allocations: 11.88 kB / 439.6 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002691/0.2616, allocations: 154.7 kB / 439.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.695e-05/0.2617, allocations: 43.7 kB / 439.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.338e-05/0.2618, allocations: 8 kB / 439.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.541e-05/0.2618, allocations: 8 kB / 439.8 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.187e-05/0.2619, allocations: 11.92 kB / 439.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.2619, allocations: 4 kB / 439.8 MB, free: 14.22 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002219/0.2621, allocations: 200.5 kB / 440 MB, free: 14.03 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2621, allocations: 0 / 440 MB, free: 14.03 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002569/0.2624, allocations: 28 kB / 440.1 MB, free: 14 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,subSample1.y,sample1.y,subSample1.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 (10): * Single equations (assignments): 8 * 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.002119/0.2645, allocations: 1.037 MB / 441.1 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002222/0.2647, allocations: 67.91 kB / 441.2 MB, free: 13.05 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2647, allocations: 3.938 kB / 441.2 MB, free: 13.04 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.892e-05/0.2648, allocations: 27.94 kB / 441.2 MB, free: 13.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004372/0.2652, allocations: 73.72 kB / 441.3 MB, free: 12.95 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00253/0.2678, allocations: 1.976 MB / 443.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.2679, allocations: 115.5 kB / 443.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.133e-05/0.268, allocations: 21.47 kB / 443.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.2681, allocations: 55.41 kB / 443.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2681, allocations: 4 kB / 443.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02645/0.2945, allocations: 5.091 MB / 448.5 MB, free: 5.648 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/10.89, allocations: 14.31 kB / 448.5 MB, free: 5.641 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample_fmu --startTime=0 --stopTime=0.2 --stepSize=3.98963e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.249094006954692] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'subSample1.y'] 11.106278505991213 11.133504224 10.872898429 Calling exit ...