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.001701/0.001701, allocations: 116.6 kB / 18.49 MB, free: 4.566 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.001892/0.001892, allocations: 189 kB / 21.43 MB, free: 1.641 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.417/1.417, allocations: 225.6 MB / 249.8 MB, free: 3.629 MB / 190.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.001455/0.001455, allocations: 47.92 kB / 366.3 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08987/0.09133, allocations: 52.14 MB / 418.5 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.00272/0.09405, allocations: 1.511 MB / 420 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003982/0.09444, allocations: 147.5 kB / 420.1 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.433e-05/0.09452, allocations: 3.938 kB / 420.1 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.841e-05/0.09457, allocations: 3.938 kB / 420.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001238/0.09469, allocations: 7.984 kB / 420.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.09493, allocations: 39.84 kB / 420.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.09504, allocations: 31.86 kB / 420.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.09514, allocations: 19.97 kB / 420.2 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.145e-05/0.09517, allocations: 15.94 kB / 420.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.478e-05/0.09521, allocations: 15.92 kB / 420.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.09522, allocations: 0 / 420.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.214e-05/0.09524, allocations: 4 kB / 420.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.963e-05/0.0953, allocations: 19.91 kB / 420.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.637e-05/0.09533, allocations: 19.81 kB / 420.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001245/0.09546, allocations: 43.77 kB / 420.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.09546, allocations: 0 / 420.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.09546, allocations: 0 / 420.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.09547, allocations: 0 / 420.4 MB, free: 10.75 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.0004887/0.09596, allocations: 367.2 kB / 420.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.096, allocations: 12.03 kB / 420.7 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.768e-05/0.09602, allocations: 192 / 420.7 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.53e-05/0.09605, allocations: 38.69 kB / 420.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.668e-05/0.09608, allocations: 8.891 kB / 420.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.09634, allocations: 200.2 kB / 421 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.09636, allocations: 8.375 kB / 421 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.09637, allocations: 4.375 kB / 421 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002782/0.09665, allocations: 113.3 kB / 421.1 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.09666, allocations: 0 / 421.1 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.09667, allocations: 0 / 421.1 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.09667, allocations: 3.938 kB / 421.1 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.065e-05/0.09673, allocations: 23.92 kB / 421.1 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003367/0.09707, allocations: 261.7 kB / 421.4 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.09725, allocations: 134.2 kB / 421.5 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.622e-05/0.09731, allocations: 29.77 kB / 421.5 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.09733, allocations: 0 / 421.5 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.09736, allocations: 34.56 kB / 421.6 MB, free: 9.316 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.09736, allocations: 0 / 421.6 MB, free: 9.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002306/0.09759, allocations: 73.56 kB / 421.6 MB, free: 9.238 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.893e-05/0.09767, allocations: 85.17 kB / 421.7 MB, free: 9.137 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.09779, allocations: 133.8 kB / 421.8 MB, free: 8.996 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.0978, allocations: 25.7 kB / 421.9 MB, free: 8.965 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.376e-05/0.09786, allocations: 88.09 kB / 422 MB, free: 8.875 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.136e-05/0.09787, allocations: 7.984 kB / 422 MB, free: 8.867 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.909e-05/0.09791, allocations: 17.72 kB / 422 MB, free: 8.844 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.09803, allocations: 310.8 kB / 422.3 MB, free: 8.531 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.135e-05/0.09806, allocations: 7.984 kB / 422.3 MB, free: 8.523 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.321e-05/0.09811, allocations: 35.44 kB / 422.3 MB, free: 8.477 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.141e-05/0.09818, allocations: 43.3 kB / 422.4 MB, free: 8.422 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.09818, allocations: 0 / 422.4 MB, free: 8.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000115/0.09829, allocations: 65.58 kB / 422.4 MB, free: 8.352 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.09831, allocations: 4 kB / 422.4 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.09831, allocations: 4 kB / 422.4 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.09833, allocations: 0 / 422.4 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.308e-05/0.09834, allocations: 4 kB / 422.4 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.09835, allocations: 7.938 kB / 422.5 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.722e-05/0.09837, allocations: 0 / 422.5 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.318e-06/0.09838, allocations: 7.984 kB / 422.5 MB, free: 8.324 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.944e-05/0.09847, allocations: 122.6 kB / 422.6 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.736e-05/0.09855, allocations: 49.64 kB / 422.6 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.372e-05/0.09858, allocations: 16.17 kB / 422.6 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.09858, allocations: 0 / 422.6 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.09859, allocations: 0 / 422.6 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.09859, allocations: 3.984 kB / 422.7 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000181/0.09877, allocations: 169.6 kB / 422.8 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.09877, allocations: 0 / 422.8 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.548e-06/0.09878, allocations: 7.875 kB / 422.8 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.09879, allocations: 0 / 422.8 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.09879, allocations: 8 kB / 422.8 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.09879, allocations: 0 / 422.8 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.09879, allocations: 0 / 422.8 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001664/0.09896, allocations: 172.3 kB / 423 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.767e-05/0.09903, allocations: 85.09 kB / 423.1 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.09904, allocations: 0 / 423.1 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.65e-05/0.0991, allocations: 8 kB / 423.1 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.435e-05/0.09912, allocations: 4 kB / 423.1 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.09913, allocations: 0 / 423.1 MB, free: 7.582 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.067e-05/0.0992, allocations: 110.3 kB / 423.2 MB, free: 7.477 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.0992, allocations: 0 / 423.2 MB, free: 7.477 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002207/0.09942, allocations: 8 kB / 423.2 MB, free: 7.469 MB / 350.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.0004942/0.09991, allocations: 0.7014 MB / 423.9 MB, free: 6.738 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001406/0.1001, allocations: 27.92 kB / 423.9 MB, free: 6.711 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1001, allocations: 0 / 423.9 MB, free: 6.711 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.612e-05/0.1001, allocations: 8 kB / 423.9 MB, free: 6.703 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/0.1004, allocations: 20.02 kB / 424 MB, free: 6.684 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/0.1017, allocations: 1.307 MB / 425.3 MB, free: 5.273 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.102, allocations: 0.6922 MB / 426 MB, free: 4.555 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.906e-05/0.102, allocations: 4 kB / 426 MB, free: 4.551 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.682e-05/0.1021, allocations: 11.44 kB / 426 MB, free: 4.539 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1021, allocations: 0 / 426 MB, free: 4.539 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01662/0.1187, allocations: 1.525 MB / 427.5 MB, free: 3.148 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.87/7.989, allocations: 11.62 kB / 427.5 MB, free: 3.141 MB / 350.1 MB " [Timeout remaining time 652] (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: 10.34274924302008] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock.y', 'sample1.y'] 8.11029583401978 8.124784824 8.026498183 Calling exit ...