Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001738/0.001738, allocations: 105.1 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002047/0.002047, allocations: 213.9 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.391/1.391, allocations: 230.6 MB / 258.3 MB, free: 8.066 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 60.78 kB / 378.5 MB, free: 3.172 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2573, allocations: 53.37 MB / 431.9 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.002753/0.26, allocations: 1.525 MB / 433.4 MB, free: 5.387 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008691/0.2609, allocations: 486.7 kB / 433.9 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.144e-05/0.261, allocations: 7.875 kB / 433.9 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.697e-05/0.261, allocations: 7.938 kB / 433.9 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.687e-05/0.2611, allocations: 7.938 kB / 433.9 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002736/0.2613, allocations: 35.52 kB / 434 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.273e-05/0.2614, allocations: 31.92 kB / 434 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.883e-05/0.2615, allocations: 14.11 kB / 434 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.2616, allocations: 23.86 kB / 434.1 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.05e-05/0.2617, allocations: 23.91 kB / 434.1 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.2617, allocations: 0 / 434.1 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.596e-05/0.2617, allocations: 4 kB / 434.1 MB, free: 4.758 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.696e-05/0.2617, allocations: 15.88 kB / 434.1 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.846e-05/0.2618, allocations: 15.92 kB / 434.1 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.2619, allocations: 47.77 kB / 434.2 MB, free: 4.68 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.2619, allocations: 3.984 kB / 434.2 MB, free: 4.676 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2619, allocations: 0 / 434.2 MB, free: 4.676 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.2619, allocations: 0 / 434.2 MB, free: 4.676 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000423/0.2623, allocations: 274.2 kB / 434.4 MB, free: 4.379 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.2624, allocations: 8.031 kB / 434.4 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.688e-05/0.2624, allocations: 42.67 kB / 434.5 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001276/0.2626, allocations: 8.938 kB / 434.5 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002227/0.2628, allocations: 122.5 kB / 434.6 MB, free: 4.168 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.2628, allocations: 4.375 kB / 434.6 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.236e-06/0.2628, allocations: 384 / 434.6 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003076/0.2631, allocations: 119.4 kB / 434.7 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.2631, allocations: 0 / 434.7 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.2631, allocations: 3.938 kB / 434.7 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.2631, allocations: 4 kB / 434.7 MB, free: 4.027 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.787e-05/0.2632, allocations: 19.98 kB / 434.8 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001529/0.2634, allocations: 132.7 kB / 434.9 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.2635, allocations: 54.55 kB / 434.9 MB, free: 3.773 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.824e-05/0.2636, allocations: 24.92 kB / 435 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.2636, allocations: 4 kB / 435 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.2636, allocations: 38.5 kB / 435 MB, free: 3.695 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.2636, allocations: 0 / 435 MB, free: 3.695 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000223/0.2639, allocations: 81.5 kB / 435.1 MB, free: 3.609 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/0.2639, allocations: 55.39 kB / 435.1 MB, free: 3.543 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.834e-05/0.264, allocations: 113.8 kB / 435.2 MB, free: 3.422 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.264, allocations: 25.7 kB / 435.3 MB, free: 3.391 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.34e-05/0.2641, allocations: 88.52 kB / 435.4 MB, free: 3.301 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.052e-06/0.2641, allocations: 4 kB / 435.4 MB, free: 3.297 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.341e-05/0.2641, allocations: 9.719 kB / 435.4 MB, free: 3.281 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.2642, allocations: 322.8 kB / 435.7 MB, free: 2.957 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.026e-05/0.2643, allocations: 3.938 kB / 435.7 MB, free: 2.953 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.156e-05/0.2643, allocations: 31.38 kB / 435.7 MB, free: 2.91 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.008e-05/0.2643, allocations: 35.44 kB / 435.8 MB, free: 2.863 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2643, allocations: 3.938 kB / 435.8 MB, free: 2.859 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.96e-05/0.2644, allocations: 65.8 kB / 435.8 MB, free: 2.789 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.2644, allocations: 8 kB / 435.8 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.2644, allocations: 4.125 kB / 435.8 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.2645, allocations: 0 / 435.8 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.386e-05/0.2645, allocations: 11.98 kB / 435.8 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.2645, allocations: 0 / 435.8 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.028e-05/0.2645, allocations: 3.984 kB / 435.9 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.2645, allocations: 8 kB / 435.9 MB, free: 2.754 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: 0 () * 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.545e-05/0.2646, allocations: 121.7 kB / 436 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.2647, allocations: 61.61 kB / 436 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.025e-05/0.2648, allocations: 12 kB / 436.1 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.2648, allocations: 0 / 436.1 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2648, allocations: 0 / 436.1 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.2648, allocations: 0 / 436.1 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001015/0.2649, allocations: 136.7 kB / 436.2 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2649, allocations: 0 / 436.2 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.607e-05/0.2649, allocations: 7.938 kB / 436.2 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.2649, allocations: 4 kB / 436.2 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.68e-06/0.2649, allocations: 0 / 436.2 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2649, allocations: 0 / 436.2 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.2649, allocations: 0 / 436.2 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001494/0.2651, allocations: 93.05 kB / 436.3 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.845e-05/0.2651, allocations: 15.88 kB / 436.3 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.2651, allocations: 3.938 kB / 436.3 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.072e-05/0.2652, allocations: 4 kB / 436.3 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.414e-06/0.2652, allocations: 0 / 436.3 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.2652, allocations: 0 / 436.3 MB, free: 2.219 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.192e-05/0.2652, allocations: 91.27 kB / 436.4 MB, free: 2.129 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2652, allocations: 4 kB / 436.4 MB, free: 2.125 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001818/0.2654, allocations: 8.281 kB / 436.4 MB, free: 2.117 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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.0004452/0.2659, allocations: 0.6201 MB / 437 MB, free: 1.469 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001151/0.266, allocations: 28.11 kB / 437.1 MB, free: 1.441 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.266, allocations: 0 / 437.1 MB, free: 1.441 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.21e-07/0.266, allocations: 0 / 437.1 MB, free: 1.441 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.2662, allocations: 27.92 kB / 437.1 MB, free: 1.414 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.2673, allocations: 1.187 MB / 438.3 MB, free: 132 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.2676, allocations: 0.6807 MB / 439 MB, free: 15.42 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.144e-05/0.2676, allocations: 0 / 439 MB, free: 15.42 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.939e-05/0.2677, allocations: 15.44 kB / 439 MB, free: 15.41 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2677, allocations: 0 / 439 MB, free: 15.41 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02517/0.2928, allocations: 1.347 MB / 440.3 MB, free: 14.15 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.569/7.862, allocations: 11.98 kB / 440.3 MB, free: 14.14 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000199561 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.293343802914023] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y'] 7.932131289038807 7.960196391 7.693053725 Calling exit ...