Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.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.001593/0.001593, allocations: 101.5 kB / 21.21 MB, free: 0.6289 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.001351/0.001351, allocations: 188.3 kB / 24.49 MB, free: 3.941 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.338/1.338, allocations: 225.7 MB / 253.3 MB, free: 12.8 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.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 51.91 kB / 371.2 MB, free: 9.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2509, allocations: 52.18 MB / 423.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003337/0.2543, allocations: 1.869 MB / 425.2 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.256, allocations: 1.013 MB / 426.2 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.433e-05/0.2561, allocations: 7.938 kB / 426.2 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005957/0.2567, allocations: 155.5 kB / 426.4 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002973/0.257, allocations: 123.5 kB / 426.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005212/0.2575, allocations: 209.4 kB / 426.7 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002485/0.2578, allocations: 179.5 kB / 426.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.2579, allocations: 21.72 kB / 426.9 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.258, allocations: 71.7 kB / 427 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.2581, allocations: 75.62 kB / 427.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.891e-05/0.2581, allocations: 12 kB / 427.1 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000138/0.2583, allocations: 67.88 kB / 427.1 MB, free: 10.56 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.017e-05/0.2583, allocations: 39.91 kB / 427.2 MB, free: 10.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.248e-05/0.2584, allocations: 55.55 kB / 427.2 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00031/0.2587, allocations: 205.4 kB / 427.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2587, allocations: 0 / 427.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2587, allocations: 4 kB / 427.4 MB, free: 10.26 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.2587, allocations: 0 / 427.4 MB, free: 10.26 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.0007551/0.2595, allocations: 450.7 kB / 427.9 MB, free: 9.785 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.2595, allocations: 15.97 kB / 427.9 MB, free: 9.77 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.726e-05/0.2595, allocations: 192 / 427.9 MB, free: 9.77 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.913e-05/0.2596, allocations: 38.75 kB / 427.9 MB, free: 9.723 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.253e-05/0.2596, allocations: 20.8 kB / 427.9 MB, free: 9.703 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003163/0.2599, allocations: 205.2 kB / 428.1 MB, free: 9.477 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.26, allocations: 12.12 kB / 428.2 MB, free: 9.465 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.26, allocations: 8 kB / 428.2 MB, free: 9.457 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003345/0.2603, allocations: 176.4 kB / 428.3 MB, free: 9.254 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.2603, allocations: 7.922 kB / 428.3 MB, free: 9.246 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.2603, allocations: 0 / 428.3 MB, free: 9.246 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.2604, allocations: 4 kB / 428.4 MB, free: 9.242 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.2605, allocations: 31.98 kB / 428.4 MB, free: 9.211 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004805/0.2609, allocations: 325.5 kB / 428.7 MB, free: 8.844 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002278/0.2612, allocations: 111.9 kB / 428.8 MB, free: 8.707 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.182e-05/0.2613, allocations: 38.56 kB / 428.8 MB, free: 8.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.2613, allocations: 4 kB / 428.9 MB, free: 8.656 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000161/0.2614, allocations: 83.25 kB / 428.9 MB, free: 8.562 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.2614, allocations: 0 / 428.9 MB, free: 8.562 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003645/0.2618, allocations: 141.8 kB / 429.1 MB, free: 8.418 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.757e-05/0.2619, allocations: 136.5 kB / 429.2 MB, free: 8.254 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003056/0.2622, allocations: 268.9 kB / 429.5 MB, free: 7.984 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.2622, allocations: 25.7 kB / 429.5 MB, free: 7.953 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.2623, allocations: 120.1 kB / 429.6 MB, free: 7.832 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.425e-05/0.2624, allocations: 23.91 kB / 429.6 MB, free: 7.809 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.177e-05/0.2624, allocations: 21.72 kB / 429.7 MB, free: 7.781 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.2626, allocations: 338.8 kB / 430 MB, free: 7.441 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.2e-05/0.2627, allocations: 27.92 kB / 430 MB, free: 7.414 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.2628, allocations: 121.4 kB / 430.1 MB, free: 7.262 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.263, allocations: 80.25 kB / 430.2 MB, free: 7.168 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.263, allocations: 0 / 430.2 MB, free: 7.168 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002427/0.2632, allocations: 117.5 kB / 430.3 MB, free: 7.047 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.2632, allocations: 8 kB / 430.3 MB, free: 7.039 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.2632, allocations: 0 / 430.3 MB, free: 7.039 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.2633, allocations: 128 / 430.3 MB, free: 7.039 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.036e-05/0.2633, allocations: 23.98 kB / 430.4 MB, free: 7.016 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.2634, allocations: 4.25 kB / 430.4 MB, free: 7.012 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.7e-05/0.2634, allocations: 7.953 kB / 430.4 MB, free: 7.004 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/0.2634, allocations: 8 kB / 430.4 MB, free: 6.996 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,table.y,superSample1.y,superSample1.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.000151/0.2636, allocations: 141.8 kB / 430.5 MB, free: 6.848 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.542e-05/0.2637, allocations: 65.55 kB / 430.6 MB, free: 6.777 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002602/0.2639, allocations: 115.3 kB / 430.7 MB, free: 6.656 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.2639, allocations: 0 / 430.7 MB, free: 6.656 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.264, allocations: 12 kB / 430.7 MB, free: 6.645 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.264, allocations: 0 / 430.7 MB, free: 6.645 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002241/0.2642, allocations: 184.6 kB / 430.9 MB, free: 6.422 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.2642, allocations: 4 kB / 430.9 MB, free: 6.418 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.614e-05/0.2642, allocations: 7.984 kB / 430.9 MB, free: 6.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.2642, allocations: 0 / 430.9 MB, free: 6.41 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.2642, allocations: 4 kB / 430.9 MB, free: 6.406 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2642, allocations: 0 / 430.9 MB, free: 6.406 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/0.2642, allocations: 7.875 kB / 430.9 MB, free: 6.398 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002681/0.2645, allocations: 162.7 kB / 431.1 MB, free: 6.215 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.34e-05/0.2646, allocations: 39.91 kB / 431.1 MB, free: 6.176 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.287e-05/0.2646, allocations: 7.938 kB / 431.1 MB, free: 6.168 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.06e-05/0.2647, allocations: 4 kB / 431.1 MB, free: 6.164 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-05/0.2647, allocations: 15.86 kB / 431.1 MB, free: 6.148 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.2647, allocations: 4 kB / 431.1 MB, free: 6.145 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002306/0.265, allocations: 196.5 kB / 431.3 MB, free: 5.953 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.265, allocations: 0 / 431.3 MB, free: 5.953 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002714/0.2653, allocations: 27.94 kB / 431.4 MB, free: 5.926 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,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.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.00224/0.2675, allocations: 1.045 MB / 432.4 MB, free: 5.035 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002238/0.2677, allocations: 67.91 kB / 432.5 MB, free: 4.969 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.2677, allocations: 0 / 432.5 MB, free: 4.969 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.292e-05/0.2678, allocations: 23.94 kB / 432.5 MB, free: 4.945 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003985/0.2682, allocations: 68.3 kB / 432.6 MB, free: 4.879 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002666/0.2709, allocations: 1.949 MB / 434.5 MB, free: 2.812 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001445/0.271, allocations: 115.3 kB / 434.6 MB, free: 2.676 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.176e-05/0.2711, allocations: 21.75 kB / 434.6 MB, free: 2.656 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.2712, allocations: 51.42 kB / 434.7 MB, free: 2.605 MB / 334.1 MB Notification: Performance of SimCode: time 6.31e-07/0.2712, allocations: 0 / 434.7 MB, free: 2.605 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02658/0.2978, allocations: 5.001 MB / 439.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.12, allocations: 4.062 kB / 439.7 MB, free: 13.71 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample_fmu --startTime=0 --stopTime=0.2 --stepSize=3.95804e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.468388675013557] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'superSample1.y'] 11.326915152021684 11.343043589 11.081216023 Calling exit ...