Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.001449/0.001449, 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.001332/0.001332, 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.38/1.38, 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.RealSignals.Sample2,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 47.92 kB / 371.2 MB, free: 9.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.2383, allocations: 52.19 MB / 423.4 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.002845/0.2411, allocations: 1.572 MB / 425 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003985/0.2415, allocations: 135.5 kB / 425.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.424e-05/0.2416, allocations: 4 kB / 425.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.224e-05/0.2417, allocations: 7.922 kB / 425.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001268/0.2418, allocations: 3.938 kB / 425.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002417/0.242, allocations: 39.91 kB / 425.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.957e-05/0.2421, allocations: 35.84 kB / 425.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.2422, allocations: 12 kB / 425.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.6e-05/0.2423, allocations: 27.84 kB / 425.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.796e-05/0.2423, allocations: 11.94 kB / 425.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.2423, allocations: 0 / 425.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.183e-05/0.2424, allocations: 4 kB / 425.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.195e-05/0.2424, allocations: 15.92 kB / 425.3 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.187e-05/0.2425, allocations: 19.81 kB / 425.3 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001213/0.2426, allocations: 48.59 kB / 425.4 MB, free: 12.65 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2426, allocations: 0 / 425.4 MB, free: 12.65 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2426, allocations: 0 / 425.4 MB, free: 12.65 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.2426, allocations: 0 / 425.4 MB, free: 12.65 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.0004498/0.243, allocations: 306 kB / 425.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.2431, allocations: 16.02 kB / 425.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.765e-05/0.2431, allocations: 192 / 425.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.144e-05/0.2431, allocations: 30.75 kB / 425.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.831e-05/0.2432, allocations: 8.891 kB / 425.7 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002217/0.2434, allocations: 137.7 kB / 425.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.706e-06/0.2434, allocations: 384 / 425.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.2434, allocations: 12.38 kB / 425.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002908/0.2437, allocations: 117.3 kB / 426 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.2437, allocations: 0 / 426 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.2437, allocations: 4 kB / 426 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.2437, allocations: 0 / 426 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.615e-05/0.2438, allocations: 23.92 kB / 426 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003086/0.2441, allocations: 236.7 kB / 426.2 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/0.2443, allocations: 61.14 kB / 426.3 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.698e-05/0.2444, allocations: 33.77 kB / 426.3 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.2444, allocations: 0 / 426.3 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.2444, allocations: 30.56 kB / 426.4 MB, free: 11.5 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.2444, allocations: 0 / 426.4 MB, free: 11.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002368/0.2446, allocations: 77.59 kB / 426.4 MB, free: 11.41 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/0.2447, allocations: 89.23 kB / 426.5 MB, free: 11.31 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.2448, allocations: 134 kB / 426.6 MB, free: 11.16 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.2449, allocations: 25.7 kB / 426.7 MB, free: 11.13 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.895e-05/0.2449, allocations: 88.14 kB / 426.8 MB, free: 11.04 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.139e-05/0.2449, allocations: 0 / 426.8 MB, free: 11.04 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-05/0.245, allocations: 17.72 kB / 426.8 MB, free: 11.02 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.2451, allocations: 318.8 kB / 427.1 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.731e-05/0.2451, allocations: 4 kB / 427.1 MB, free: 10.7 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.011e-05/0.2452, allocations: 43.36 kB / 427.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.396e-05/0.2453, allocations: 47.3 kB / 427.2 MB, free: 10.58 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2453, allocations: 8 kB / 427.2 MB, free: 10.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000125/0.2454, allocations: 65.56 kB / 427.2 MB, free: 10.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.2454, allocations: 4 kB / 427.3 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.2454, allocations: 4 kB / 427.3 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.2454, allocations: 0 / 427.3 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.256e-05/0.2455, allocations: 8 kB / 427.3 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.2455, allocations: 0 / 427.3 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.415e-05/0.2455, allocations: 8.125 kB / 427.3 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.2455, allocations: 4 kB / 427.3 MB, free: 10.48 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 9.816e-05/0.2456, allocations: 133.6 kB / 427.4 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.588e-05/0.2457, allocations: 49.64 kB / 427.5 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.974e-05/0.2457, allocations: 8.344 kB / 427.5 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.2457, allocations: 0 / 427.5 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.2457, allocations: 4 kB / 427.5 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.2457, allocations: 0 / 427.5 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001773/0.2459, allocations: 144.7 kB / 427.6 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2459, allocations: 3.938 kB / 427.6 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.522e-05/0.246, allocations: 15.98 kB / 427.6 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.246, allocations: 0 / 427.6 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.246, allocations: 4 kB / 427.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.246, allocations: 0 / 427.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.246, allocations: 0 / 427.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001898/0.2462, allocations: 172.2 kB / 427.8 MB, free: 9.867 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.265e-05/0.2462, allocations: 19.89 kB / 427.8 MB, free: 9.848 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.2462, allocations: 0 / 427.8 MB, free: 9.848 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.088e-05/0.2463, allocations: 7.984 kB / 427.8 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.317e-05/0.2463, allocations: 0 / 427.8 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.2463, allocations: 0 / 427.8 MB, free: 9.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.91e-05/0.2464, allocations: 103.3 kB / 427.9 MB, free: 9.738 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2464, allocations: 0 / 427.9 MB, free: 9.738 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002155/0.2466, allocations: 4 kB / 427.9 MB, free: 9.734 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: 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.0005292/0.2471, allocations: 0.7093 MB / 428.6 MB, free: 8.996 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001327/0.2472, allocations: 27.92 kB / 428.7 MB, free: 8.969 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2472, allocations: 0 / 428.7 MB, free: 8.969 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.335e-05/0.2473, allocations: 8.25 kB / 428.7 MB, free: 8.961 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/0.2476, allocations: 31.55 kB / 428.7 MB, free: 8.938 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.249, allocations: 1.326 MB / 430 MB, free: 7.512 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.2493, allocations: 0.6883 MB / 430.7 MB, free: 6.797 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.747e-05/0.2494, allocations: 7.984 kB / 430.7 MB, free: 6.789 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.181e-05/0.2494, allocations: 15.44 kB / 430.7 MB, free: 6.773 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2494, allocations: 0 / 430.7 MB, free: 6.773 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02123/0.2707, allocations: 1.629 MB / 432.4 MB, free: 5.289 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.45/10.72, allocations: 4.062 kB / 432.4 MB, free: 5.285 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.036168079008348] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock.y', 'sample1.y'] 10.884275236981921 10.899665228 10.653918875 Calling exit ...