Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.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.001239/0.001239, allocations: 101.5 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.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.001301/0.001301, allocations: 188.4 kB / 24.49 MB, free: 3.957 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.34/1.34, allocations: 225.7 MB / 253.3 MB, free: 12.85 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 43.92 kB / 371.2 MB, free: 9.707 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.246, allocations: 52.19 MB / 423.4 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.00332/0.2494, allocations: 1.857 MB / 425.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001705/0.2511, allocations: 0.9821 MB / 426.2 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.934e-05/0.2512, allocations: 3.938 kB / 426.2 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005983/0.2518, allocations: 163.4 kB / 426.4 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003028/0.2521, allocations: 119.5 kB / 426.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005227/0.2526, allocations: 209.2 kB / 426.7 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002534/0.2528, allocations: 179.5 kB / 426.9 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.2529, allocations: 29.66 kB / 426.9 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.2531, allocations: 71.7 kB / 427 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.2532, allocations: 71.69 kB / 427 MB, free: 10.72 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.52e-05/0.2532, allocations: 15.94 kB / 427 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001397/0.2533, allocations: 59.88 kB / 427.1 MB, free: 10.65 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.459e-05/0.2534, allocations: 43.84 kB / 427.1 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.977e-05/0.2535, allocations: 55.67 kB / 427.2 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003344/0.2538, allocations: 217.4 kB / 427.4 MB, free: 10.34 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.2538, allocations: 0 / 427.4 MB, free: 10.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2538, allocations: 0 / 427.4 MB, free: 10.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.2538, allocations: 0 / 427.4 MB, free: 10.34 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.0007419/0.2546, allocations: 442.7 kB / 427.8 MB, free: 9.871 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.2546, allocations: 12.03 kB / 427.9 MB, free: 9.859 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.244e-05/0.2546, allocations: 192 / 427.9 MB, free: 9.859 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.004e-05/0.2547, allocations: 42.73 kB / 427.9 MB, free: 9.809 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.81e-05/0.2547, allocations: 20.8 kB / 427.9 MB, free: 9.789 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003339/0.255, allocations: 217.1 kB / 428.1 MB, free: 9.551 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.2551, allocations: 12.12 kB / 428.1 MB, free: 9.539 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.2551, allocations: 4 kB / 428.1 MB, free: 9.535 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003329/0.2554, allocations: 172.4 kB / 428.3 MB, free: 9.336 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.2554, allocations: 0 / 428.3 MB, free: 9.336 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.2554, allocations: 11.98 kB / 428.3 MB, free: 9.324 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.2555, allocations: 4 kB / 428.3 MB, free: 9.32 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.2556, allocations: 31.92 kB / 428.4 MB, free: 9.289 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004673/0.256, allocations: 321.5 kB / 428.7 MB, free: 8.926 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002263/0.2562, allocations: 107.9 kB / 428.8 MB, free: 8.793 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.71e-05/0.2563, allocations: 46.5 kB / 428.8 MB, free: 8.738 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.2564, allocations: 4 kB / 428.8 MB, free: 8.734 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000163/0.2565, allocations: 71.38 kB / 428.9 MB, free: 8.652 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.2565, allocations: 4 kB / 428.9 MB, free: 8.648 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003637/0.2569, allocations: 141.5 kB / 429 MB, free: 8.504 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.168e-05/0.257, allocations: 140.5 kB / 429.2 MB, free: 8.336 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002852/0.2573, allocations: 264.9 kB / 429.4 MB, free: 8.07 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.834e-05/0.2573, allocations: 29.7 kB / 429.5 MB, free: 8.035 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.879e-05/0.2574, allocations: 116.1 kB / 429.6 MB, free: 7.918 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.168e-05/0.2574, allocations: 23.83 kB / 429.6 MB, free: 7.895 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.033e-05/0.2575, allocations: 29.66 kB / 429.6 MB, free: 7.859 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.2576, allocations: 339.1 kB / 430 MB, free: 7.52 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.334e-05/0.2577, allocations: 19.98 kB / 430 MB, free: 7.5 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.2578, allocations: 121.5 kB / 430.1 MB, free: 7.348 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.258, allocations: 80.22 kB / 430.2 MB, free: 7.254 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.258, allocations: 0 / 430.2 MB, free: 7.254 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002131/0.2582, allocations: 125.8 kB / 430.3 MB, free: 7.125 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.2582, allocations: 4 kB / 430.3 MB, free: 7.121 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.2582, allocations: 4 kB / 430.3 MB, free: 7.117 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.2582, allocations: 0 / 430.3 MB, free: 7.117 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.987e-05/0.2583, allocations: 23.92 kB / 430.3 MB, free: 7.094 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-06/0.2583, allocations: 3.938 kB / 430.3 MB, free: 7.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.63e-05/0.2584, allocations: 7.953 kB / 430.3 MB, free: 7.082 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.2584, allocations: 8 kB / 430.4 MB, free: 7.074 MB / 334.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.0001211/0.2585, allocations: 137.8 kB / 430.5 MB, free: 6.93 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.196e-05/0.2586, allocations: 73.55 kB / 430.6 MB, free: 6.852 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002347/0.2588, allocations: 111.4 kB / 430.7 MB, free: 6.734 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.2588, allocations: 0 / 430.7 MB, free: 6.734 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.2589, allocations: 3.938 kB / 430.7 MB, free: 6.73 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.2589, allocations: 4 kB / 430.7 MB, free: 6.727 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.259, allocations: 180.6 kB / 430.8 MB, free: 6.508 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.2591, allocations: 4 kB / 430.9 MB, free: 6.504 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.355e-05/0.2591, allocations: 7.938 kB / 430.9 MB, free: 6.496 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-06/0.2591, allocations: 3.984 kB / 430.9 MB, free: 6.492 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.2591, allocations: 8 kB / 430.9 MB, free: 6.484 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.2591, allocations: 4.062 kB / 430.9 MB, free: 6.48 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.2591, allocations: 3.938 kB / 430.9 MB, free: 6.477 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002503/0.2594, allocations: 158.6 kB / 431 MB, free: 6.297 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.958e-05/0.2594, allocations: 35.88 kB / 431.1 MB, free: 6.262 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.711e-05/0.2595, allocations: 0 / 431.1 MB, free: 6.262 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.709e-05/0.2595, allocations: 7.938 kB / 431.1 MB, free: 6.254 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.978e-05/0.2596, allocations: 19.91 kB / 431.1 MB, free: 6.234 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.2596, allocations: 4 kB / 431.1 MB, free: 6.23 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001969/0.2598, allocations: 196.5 kB / 431.3 MB, free: 6.039 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2598, allocations: 0 / 431.3 MB, free: 6.039 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002467/0.26, allocations: 31.94 kB / 431.3 MB, free: 6.008 MB / 334.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.001997/0.262, allocations: 1.035 MB / 432.4 MB, free: 5.121 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002127/0.2622, allocations: 63.91 kB / 432.4 MB, free: 5.059 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2622, allocations: 0 / 432.4 MB, free: 5.059 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.254e-05/0.2623, allocations: 24 kB / 432.4 MB, free: 5.035 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004066/0.2627, allocations: 79.52 kB / 432.5 MB, free: 4.965 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00224/0.265, allocations: 1.953 MB / 434.5 MB, free: 2.895 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001168/0.2651, allocations: 115.5 kB / 434.6 MB, free: 2.758 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.266e-05/0.2651, allocations: 29.75 kB / 434.6 MB, free: 2.73 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.79e-05/0.2652, allocations: 47.42 kB / 434.7 MB, free: 2.684 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2652, allocations: 4 kB / 434.7 MB, free: 2.68 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02799/0.2932, allocations: 4.989 MB / 439.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.14, allocations: 4.062 kB / 439.7 MB, free: 13.79 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample_fmu --startTime=0 --stopTime=0.2 --stepSize=3.98963e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.482825367944315] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'subSample1.y'] 11.344703644979745 11.360741763 11.103942966 Calling exit ...