Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.001546/0.001546, allocations: 120.1 kB / 18.49 MB, free: 4.562 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.001593/0.001593, allocations: 215 kB / 21.45 MB, free: 1.617 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.385/1.385, allocations: 230.6 MB / 254.8 MB, free: 15.25 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.Sample1,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 51.92 kB / 373.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09342/0.09489, allocations: 53.33 MB / 427 MB, free: 4.812 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.002588/0.09748, allocations: 1.517 MB / 428.5 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003607/0.09784, allocations: 143.5 kB / 428.7 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.586e-05/0.09791, allocations: 0 / 428.7 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.829e-05/0.09794, allocations: 7.938 kB / 428.7 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001073/0.09805, allocations: 11.94 kB / 428.7 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002177/0.09827, allocations: 42.58 kB / 428.7 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.802e-05/0.09836, allocations: 27.98 kB / 428.8 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.038e-05/0.09844, allocations: 8 kB / 428.8 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.121e-05/0.09847, allocations: 19.86 kB / 428.8 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.008e-05/0.0985, allocations: 15.92 kB / 428.8 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.09852, allocations: 0 / 428.8 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.548e-06/0.09853, allocations: 4 kB / 428.8 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.387e-05/0.09857, allocations: 15.92 kB / 428.8 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.478e-05/0.0986, allocations: 27.8 kB / 428.8 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.09871, allocations: 43.77 kB / 428.9 MB, free: 2.926 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.09871, allocations: 0 / 428.9 MB, free: 2.926 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.09871, allocations: 0 / 428.9 MB, free: 2.926 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.09872, allocations: 0 / 428.9 MB, free: 2.926 MB / 350.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.0004232/0.09914, allocations: 367.2 kB / 429.2 MB, free: 2.516 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.09918, allocations: 8.031 kB / 429.3 MB, free: 2.508 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.128e-05/0.09919, allocations: 192 / 429.3 MB, free: 2.508 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.902e-05/0.09923, allocations: 38.75 kB / 429.3 MB, free: 2.461 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.396e-05/0.09926, allocations: 12.89 kB / 429.3 MB, free: 2.449 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002286/0.09949, allocations: 198.4 kB / 429.5 MB, free: 2.219 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.0995, allocations: 4.375 kB / 429.5 MB, free: 2.215 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.09951, allocations: 384 / 429.5 MB, free: 2.215 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002506/0.09976, allocations: 129.3 kB / 429.6 MB, free: 2.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.09977, allocations: 0 / 429.6 MB, free: 2.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.09978, allocations: 4 kB / 429.6 MB, free: 2.066 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.09979, allocations: 4 kB / 429.6 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.642e-05/0.09984, allocations: 11.94 kB / 429.7 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000294/0.1001, allocations: 269.6 kB / 429.9 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.1003, allocations: 134.2 kB / 430 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.034e-05/0.1004, allocations: 29.77 kB / 430.1 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.1004, allocations: 0 / 430.1 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.1004, allocations: 34.56 kB / 430.1 MB, free: 1.488 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.1004, allocations: 0 / 430.1 MB, free: 1.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002071/0.1006, allocations: 69.77 kB / 430.2 MB, free: 1.414 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/0.1006, allocations: 85.09 kB / 430.3 MB, free: 1.312 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.1008, allocations: 129.8 kB / 430.4 MB, free: 1.176 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.1008, allocations: 25.7 kB / 430.4 MB, free: 1.145 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.05e-05/0.1008, allocations: 88.14 kB / 430.5 MB, free: 1.055 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.723e-06/0.1008, allocations: 0 / 430.5 MB, free: 1.055 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.684e-05/0.1009, allocations: 21.67 kB / 430.5 MB, free: 1.027 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.101, allocations: 319 kB / 430.8 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.27e-05/0.101, allocations: 11.94 kB / 430.8 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.285e-05/0.1011, allocations: 35.41 kB / 430.9 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.862e-05/0.1011, allocations: 43.31 kB / 430.9 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.1011, allocations: 4 kB / 430.9 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000105/0.1012, allocations: 57.62 kB / 431 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.1013, allocations: 11.98 kB / 431 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.1013, allocations: 0 / 431 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.1013, allocations: 0 / 431 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.296e-05/0.1013, allocations: 4 kB / 431 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.1013, allocations: 4.125 kB / 431 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.03e-05/0.1013, allocations: 4 kB / 431 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.1013, allocations: 0 / 431 MB, free: 0.5039 MB / 350.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.577e-05/0.1014, allocations: 129.7 kB / 431.1 MB, free: 376 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.975e-05/0.1015, allocations: 41.66 kB / 431.2 MB, free: 328 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.371e-05/0.1015, allocations: 19.83 kB / 431.2 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.1015, allocations: 0 / 431.2 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1015, allocations: 0 / 431.2 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1015, allocations: 4 kB / 431.2 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/0.1017, allocations: 169.6 kB / 431.4 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1017, allocations: 3.938 kB / 431.4 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.023e-06/0.1017, allocations: 0 / 431.4 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1017, allocations: 4 kB / 431.4 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.1017, allocations: 4 kB / 431.4 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1017, allocations: 0 / 431.4 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1017, allocations: 0 / 431.4 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001708/0.1019, allocations: 168.2 kB / 431.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.801e-05/0.1019, allocations: 89.05 kB / 431.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.102, allocations: 8 kB / 431.6 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.665e-05/0.102, allocations: 7.984 kB / 431.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.47e-05/0.102, allocations: 0 / 431.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.102, allocations: 4 kB / 431.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.928e-05/0.1021, allocations: 105.3 kB / 431.7 MB, free: 15.65 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1021, allocations: 0 / 431.7 MB, free: 15.65 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002145/0.1023, allocations: 4 kB / 431.7 MB, free: 15.64 MB / 366.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.0004291/0.1028, allocations: 0.7015 MB / 432.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001271/0.1029, allocations: 27.92 kB / 432.5 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1029, allocations: 256 / 432.5 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.485e-05/0.1029, allocations: 8 kB / 432.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.1032, allocations: 22.05 kB / 432.5 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.1043, allocations: 1.307 MB / 433.8 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/0.1046, allocations: 0.6885 MB / 434.5 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.531e-05/0.1046, allocations: 0 / 434.5 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.577e-05/0.1047, allocations: 19.42 kB / 434.5 MB, free: 12.71 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1047, allocations: 0 / 434.5 MB, free: 12.71 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01646/0.1211, allocations: 1.497 MB / 436 MB, free: 11.35 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.747/7.868, allocations: 10.75 kB / 436 MB, free: 11.34 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.316435454995371] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock.y', 'sample1.y'] 7.987283066031523 8.157111258 7.898944736 Calling exit ...