Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.001622/0.001622, allocations: 108.6 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.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.001722/0.001722, allocations: 191.6 kB / 24.51 MB, free: 4.086 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.387/1.387, allocations: 225.6 MB / 253.3 MB, free: 13.02 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.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 43.92 kB / 371.2 MB, free: 9.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2643/0.2658, allocations: 52.2 MB / 423.4 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002992/0.2688, allocations: 1.502 MB / 424.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000414/0.2692, allocations: 135.5 kB / 425.1 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.262e-05/0.2693, allocations: 0 / 425.1 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.244e-05/0.2693, allocations: 7.938 kB / 425.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001192/0.2694, allocations: 7.922 kB / 425.1 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002295/0.2697, allocations: 35.91 kB / 425.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.799e-05/0.2698, allocations: 27.92 kB / 425.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.364e-05/0.2699, allocations: 8 kB / 425.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.153e-05/0.2699, allocations: 11.92 kB / 425.2 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.273e-05/0.2699, allocations: 11.92 kB / 425.2 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/0.2699, allocations: 4 kB / 425.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.127e-06/0.27, allocations: 0 / 425.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.08e-05/0.27, allocations: 15.92 kB / 425.2 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.713e-05/0.27, allocations: 15.88 kB / 425.2 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.2701, allocations: 47.62 kB / 425.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2702, allocations: 0 / 425.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.2702, allocations: 0 / 425.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.2702, allocations: 7.875 kB / 425.3 MB, free: 12.76 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004202/0.2706, allocations: 283.1 kB / 425.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.2706, allocations: 12.03 kB / 425.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.038e-05/0.2706, allocations: 192 / 425.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.18e-05/0.2707, allocations: 38.73 kB / 425.6 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.697e-05/0.2707, allocations: 8.891 kB / 425.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/0.2709, allocations: 134.4 kB / 425.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.2709, allocations: 4.375 kB / 425.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-06/0.2709, allocations: 4.312 kB / 425.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000215/0.2712, allocations: 93.36 kB / 425.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.2712, allocations: 0 / 425.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.2712, allocations: 7.984 kB / 425.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.2712, allocations: 0 / 425.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.413e-05/0.2712, allocations: 11.94 kB / 425.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003294/0.2716, allocations: 236.8 kB / 426.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.987e-05/0.2716, allocations: 45.09 kB / 426.1 MB, free: 11.76 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.467e-05/0.2717, allocations: 13.84 kB / 426.1 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.2717, allocations: 4 kB / 426.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.2717, allocations: 34.55 kB / 426.2 MB, free: 11.69 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.2717, allocations: 0 / 426.2 MB, free: 11.69 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001922/0.2719, allocations: 57.83 kB / 426.2 MB, free: 11.63 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.795e-05/0.272, allocations: 85.11 kB / 426.3 MB, free: 11.53 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.2721, allocations: 129.3 kB / 426.4 MB, free: 11.39 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.2721, allocations: 29.7 kB / 426.5 MB, free: 11.36 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.257e-05/0.2721, allocations: 84.14 kB / 426.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.745e-06/0.2721, allocations: 0 / 426.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.39e-05/0.2722, allocations: 21.66 kB / 426.6 MB, free: 11.25 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.2723, allocations: 314.8 kB / 426.9 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.646e-05/0.2723, allocations: 8 kB / 426.9 MB, free: 10.92 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.095e-05/0.2724, allocations: 17.72 kB / 426.9 MB, free: 10.9 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.255e-05/0.2724, allocations: 29.58 kB / 426.9 MB, free: 10.86 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.2724, allocations: 0 / 426.9 MB, free: 10.86 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.309e-05/0.2725, allocations: 53.58 kB / 427 MB, free: 10.8 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.2725, allocations: 12.12 kB / 427 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.616e-06/0.2725, allocations: 0 / 427 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.2725, allocations: 0 / 427 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.281e-05/0.2726, allocations: 0 / 427 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.2726, allocations: 0 / 427 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.589e-05/0.2726, allocations: 4 kB / 427 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-06/0.2726, allocations: 0 / 427 MB, free: 10.79 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 8.684e-05/0.2727, allocations: 121.8 kB / 427.1 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.876e-05/0.2727, allocations: 37.66 kB / 427.2 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.619e-05/0.2728, allocations: 11.5 kB / 427.2 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.2728, allocations: 4 kB / 427.2 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.2728, allocations: 3.938 kB / 427.2 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.2728, allocations: 3.984 kB / 427.2 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001576/0.2729, allocations: 136.7 kB / 427.3 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.2729, allocations: 0 / 427.3 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.504e-06/0.2729, allocations: 4 kB / 427.3 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.2729, allocations: 4 kB / 427.3 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.049e-06/0.273, allocations: 3.938 kB / 427.3 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.273, allocations: 0 / 427.3 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.273, allocations: 4 kB / 427.3 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001471/0.2731, allocations: 152.3 kB / 427.5 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.979e-05/0.2731, allocations: 11.98 kB / 427.5 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.2731, allocations: 4 kB / 427.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.96e-05/0.2732, allocations: 0 / 427.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.979e-05/0.2732, allocations: 7.922 kB / 427.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.2732, allocations: 4.031 kB / 427.5 MB, free: 10.2 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.127e-05/0.2733, allocations: 107.2 kB / 427.6 MB, free: 10.1 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2733, allocations: 0 / 427.6 MB, free: 10.1 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002073/0.2735, allocations: 4 kB / 427.6 MB, free: 10.09 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0004442/0.2739, allocations: 0.6898 MB / 428.3 MB, free: 9.375 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001022/0.2741, allocations: 15.92 kB / 428.3 MB, free: 9.359 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2741, allocations: 0 / 428.3 MB, free: 9.359 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.598e-05/0.2741, allocations: 8 kB / 428.3 MB, free: 9.352 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/0.2744, allocations: 15.95 kB / 428.3 MB, free: 9.336 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.2757, allocations: 1.249 MB / 429.6 MB, free: 7.996 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.276, allocations: 0.6844 MB / 430.3 MB, free: 7.285 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.207e-05/0.276, allocations: 3.984 kB / 430.3 MB, free: 7.281 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.307e-05/0.2761, allocations: 15.44 kB / 430.3 MB, free: 7.266 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2761, allocations: 0 / 430.3 MB, free: 7.266 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02065/0.2967, allocations: 1.502 MB / 431.8 MB, free: 5.918 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.36/10.66, allocations: 8 kB / 431.8 MB, free: 5.91 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.020568584965076] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y'] 10.814776312035974 10.839098413 10.564524968 Calling exit ...