Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.001249/0.001249, 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.001308/0.001308, allocations: 187.5 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.377/1.377, allocations: 225.6 MB / 253.3 MB, free: 13.03 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.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 47.92 kB / 371.2 MB, free: 9.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.2642, allocations: 52.19 MB / 423.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.002713/0.2669, allocations: 1.529 MB / 424.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003815/0.2673, allocations: 135.5 kB / 425.1 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.6e-05/0.2673, allocations: 7.938 kB / 425.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.977e-05/0.2674, allocations: 3.938 kB / 425.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001184/0.2675, allocations: 7.922 kB / 425.1 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002285/0.2677, allocations: 39.91 kB / 425.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.851e-05/0.2678, allocations: 35.91 kB / 425.2 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.716e-05/0.2679, allocations: 11.98 kB / 425.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.741e-05/0.268, allocations: 15.94 kB / 425.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.399e-05/0.268, allocations: 15.86 kB / 425.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.268, allocations: 4 kB / 425.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.173e-05/0.268, allocations: 4 kB / 425.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.983e-05/0.2681, allocations: 8 kB / 425.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.448e-05/0.2681, allocations: 23.8 kB / 425.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.2682, allocations: 43.61 kB / 425.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.2682, allocations: 4 kB / 425.3 MB, free: 12.72 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2682, allocations: 4 kB / 425.3 MB, free: 12.72 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.2682, allocations: 0 / 425.3 MB, free: 12.72 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004179/0.2686, allocations: 291 kB / 425.6 MB, free: 12.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.2687, allocations: 15.97 kB / 425.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.223e-05/0.2687, allocations: 192 / 425.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.207e-05/0.2687, allocations: 34.75 kB / 425.6 MB, free: 12.35 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.813e-05/0.2688, allocations: 8.891 kB / 425.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/0.269, allocations: 138.4 kB / 425.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.269, allocations: 384 / 425.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.269, allocations: 4.375 kB / 425.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000267/0.2693, allocations: 125.2 kB / 425.9 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.2693, allocations: 0 / 425.9 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.2693, allocations: 4 kB / 425.9 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.2693, allocations: 0 / 425.9 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.809e-05/0.2694, allocations: 23.97 kB / 425.9 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002962/0.2697, allocations: 236.7 kB / 426.2 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.2698, allocations: 57.22 kB / 426.2 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.64e-05/0.2698, allocations: 25.77 kB / 426.2 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.2699, allocations: 0 / 426.2 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.2699, allocations: 38.5 kB / 426.3 MB, free: 11.58 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.2699, allocations: 0 / 426.3 MB, free: 11.58 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000218/0.2701, allocations: 69.56 kB / 426.3 MB, free: 11.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/0.2702, allocations: 85.23 kB / 426.4 MB, free: 11.4 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.2703, allocations: 131.1 kB / 426.6 MB, free: 11.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.2703, allocations: 25.7 kB / 426.6 MB, free: 11.23 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.212e-05/0.2704, allocations: 92.12 kB / 426.7 MB, free: 11.14 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.147e-06/0.2704, allocations: 3.953 kB / 426.7 MB, free: 11.14 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.6e-05/0.2704, allocations: 17.72 kB / 426.7 MB, free: 11.11 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.2705, allocations: 310.8 kB / 427 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.328e-05/0.2706, allocations: 15.98 kB / 427 MB, free: 10.79 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.306e-05/0.2706, allocations: 27.44 kB / 427 MB, free: 10.75 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.252e-05/0.2707, allocations: 43.3 kB / 427.1 MB, free: 10.69 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.2707, allocations: 12 kB / 427.1 MB, free: 10.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001138/0.2708, allocations: 61.58 kB / 427.2 MB, free: 10.61 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.2708, allocations: 8 kB / 427.2 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.2708, allocations: 7.875 kB / 427.2 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.2708, allocations: 0 / 427.2 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.193e-05/0.2709, allocations: 4 kB / 427.2 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.2709, allocations: 0 / 427.2 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.209e-05/0.2709, allocations: 7.984 kB / 427.2 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.2709, allocations: 128 / 427.2 MB, free: 10.59 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.835e-05/0.271, allocations: 125.8 kB / 427.3 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.024e-05/0.2711, allocations: 45.64 kB / 427.3 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.004e-05/0.2711, allocations: 15.94 kB / 427.4 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2711, allocations: 0 / 427.4 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.2711, allocations: 0 / 427.4 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.2711, allocations: 4 kB / 427.4 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001701/0.2713, allocations: 140.7 kB / 427.5 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2713, allocations: 3.938 kB / 427.5 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.223e-06/0.2713, allocations: 0 / 427.5 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.2713, allocations: 8 kB / 427.5 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-06/0.2713, allocations: 0 / 427.5 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-06/0.2713, allocations: 0 / 427.5 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2713, allocations: 0 / 427.5 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001656/0.2715, allocations: 164.6 kB / 427.7 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.598e-05/0.2715, allocations: 15.98 kB / 427.7 MB, free: 9.988 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.2715, allocations: 3.938 kB / 427.7 MB, free: 9.984 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.156e-05/0.2716, allocations: 4 kB / 427.7 MB, free: 9.98 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.94e-05/0.2716, allocations: 8.031 kB / 427.7 MB, free: 9.973 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-06/0.2716, allocations: 0 / 427.7 MB, free: 9.973 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.564e-05/0.2717, allocations: 106.6 kB / 427.8 MB, free: 9.871 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2717, allocations: 0 / 427.8 MB, free: 9.871 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002152/0.2719, allocations: 8 kB / 427.8 MB, free: 9.863 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: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.000455/0.2723, allocations: 0.6937 MB / 428.5 MB, free: 9.141 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001144/0.2725, allocations: 27.92 kB / 428.5 MB, free: 9.113 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.2725, allocations: 0 / 428.5 MB, free: 9.113 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.615e-05/0.2725, allocations: 7.984 kB / 428.5 MB, free: 9.105 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/0.2728, allocations: 20.28 kB / 428.6 MB, free: 9.086 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.274, allocations: 1.302 MB / 429.9 MB, free: 7.68 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/0.2743, allocations: 0.6962 MB / 430.6 MB, free: 6.957 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.971e-05/0.2743, allocations: 11.98 kB / 430.6 MB, free: 6.945 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.519e-05/0.2743, allocations: 11.44 kB / 430.6 MB, free: 6.934 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2743, allocations: 0 / 430.6 MB, free: 6.934 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02053/0.2949, allocations: 1.608 MB / 432.2 MB, free: 5.477 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.35/10.65, allocations: 4.062 kB / 432.2 MB, free: 5.473 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.954214814002626] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock.y', 'sample1.y'] 10.802101026987657 10.816687662 10.545519962 Calling exit ...