Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.001236/0.001236, allocations: 112.2 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.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.001574/0.001574, allocations: 216.2 kB / 24.53 MB, free: 4.066 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.39/1.39, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.RealSignals.Sample2,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 47.92 kB / 378.6 MB, free: 3.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2347, allocations: 53.36 MB / 431.9 MB, free: 7.012 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.002734/0.2374, allocations: 1.577 MB / 433.5 MB, free: 5.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003904/0.2378, allocations: 139.5 kB / 433.6 MB, free: 5.293 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.635e-05/0.2379, allocations: 3.938 kB / 433.6 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.654e-05/0.2379, allocations: 7.875 kB / 433.7 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001121/0.238, allocations: 15.92 kB / 433.7 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002112/0.2382, allocations: 35.84 kB / 433.7 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.464e-05/0.2383, allocations: 35.86 kB / 433.7 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.662e-05/0.2384, allocations: 11.98 kB / 433.8 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.07e-05/0.2385, allocations: 15.94 kB / 433.8 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.136e-05/0.2385, allocations: 15.92 kB / 433.8 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.2385, allocations: 4 kB / 433.8 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.816e-06/0.2385, allocations: 0 / 433.8 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.712e-05/0.2386, allocations: 19.91 kB / 433.8 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.972e-05/0.2386, allocations: 23.81 kB / 433.8 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001005/0.2387, allocations: 40.61 kB / 433.9 MB, free: 5.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2387, allocations: 4 kB / 433.9 MB, free: 5.066 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2387, allocations: 0 / 433.9 MB, free: 5.066 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.2387, allocations: 0 / 433.9 MB, free: 5.066 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.0004245/0.2391, allocations: 310 kB / 434.2 MB, free: 4.73 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.2392, allocations: 8.031 kB / 434.2 MB, free: 4.723 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.687e-05/0.2392, allocations: 192 / 434.2 MB, free: 4.723 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.426e-05/0.2392, allocations: 38.73 kB / 434.2 MB, free: 4.676 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.474e-05/0.2393, allocations: 12.83 kB / 434.2 MB, free: 4.664 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/0.2394, allocations: 126.4 kB / 434.4 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.2395, allocations: 8.375 kB / 434.4 MB, free: 4.508 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.043e-06/0.2395, allocations: 384 / 434.4 MB, free: 4.508 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000272/0.2397, allocations: 133.3 kB / 434.5 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.2397, allocations: 0 / 434.5 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-06/0.2398, allocations: 0 / 434.5 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.2398, allocations: 0 / 434.5 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.528e-05/0.2398, allocations: 23.98 kB / 434.5 MB, free: 4.336 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002954/0.2401, allocations: 236.7 kB / 434.7 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.2403, allocations: 57.2 kB / 434.8 MB, free: 3.984 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.767e-05/0.2404, allocations: 33.75 kB / 434.8 MB, free: 3.945 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.2404, allocations: 0 / 434.8 MB, free: 3.945 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/0.2404, allocations: 38.5 kB / 434.9 MB, free: 3.898 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.2404, allocations: 0 / 434.9 MB, free: 3.898 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002278/0.2406, allocations: 73.56 kB / 434.9 MB, free: 3.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.551e-05/0.2407, allocations: 85.11 kB / 435 MB, free: 3.719 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.2408, allocations: 136 kB / 435.2 MB, free: 3.574 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.2409, allocations: 33.69 kB / 435.2 MB, free: 3.535 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.01e-05/0.2409, allocations: 84.14 kB / 435.3 MB, free: 3.449 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.467e-05/0.2409, allocations: 7.953 kB / 435.3 MB, free: 3.441 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.061e-05/0.2409, allocations: 13.72 kB / 435.3 MB, free: 3.422 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.2411, allocations: 318.8 kB / 435.6 MB, free: 3.102 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.527e-05/0.2411, allocations: 8 kB / 435.6 MB, free: 3.094 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.237e-05/0.2412, allocations: 39.42 kB / 435.7 MB, free: 3.043 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.487e-05/0.2413, allocations: 47.3 kB / 435.7 MB, free: 2.984 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2413, allocations: 0 / 435.7 MB, free: 2.984 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001201/0.2414, allocations: 61.62 kB / 435.8 MB, free: 2.918 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/0.2414, allocations: 8 kB / 435.8 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.2414, allocations: 0 / 435.8 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.2414, allocations: 7.922 kB / 435.8 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.072e-05/0.2415, allocations: 8 kB / 435.8 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.2415, allocations: 7.938 kB / 435.8 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.173e-05/0.2415, allocations: 3.953 kB / 435.8 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-06/0.2415, allocations: 8 kB / 435.8 MB, free: 2.875 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.154e-05/0.2416, allocations: 121.9 kB / 435.9 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.897e-05/0.2417, allocations: 45.7 kB / 436 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.892e-05/0.2417, allocations: 8.328 kB / 436 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.2417, allocations: 7.938 kB / 436 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.2417, allocations: 0 / 436 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.2417, allocations: 0 / 436 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.2419, allocations: 148.6 kB / 436.1 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2419, allocations: 0 / 436.1 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.291e-05/0.242, allocations: 8 kB / 436.1 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.242, allocations: 4 kB / 436.1 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/0.242, allocations: 0 / 436.1 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.242, allocations: 3.984 kB / 436.1 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.242, allocations: 0 / 436.1 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001782/0.2421, allocations: 164.3 kB / 436.3 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.377e-05/0.2422, allocations: 15.88 kB / 436.3 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.2422, allocations: 8 kB / 436.3 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.846e-05/0.2422, allocations: 11.94 kB / 436.3 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.339e-05/0.2423, allocations: 3.984 kB / 436.3 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.2423, allocations: 4 kB / 436.4 MB, free: 2.246 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.803e-05/0.2423, allocations: 95.27 kB / 436.4 MB, free: 2.152 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2423, allocations: 4 kB / 436.4 MB, free: 2.148 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002164/0.2426, allocations: 8 kB / 436.5 MB, free: 2.141 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.0004834/0.243, allocations: 0.6979 MB / 437.2 MB, free: 1.414 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001231/0.2432, allocations: 35.94 kB / 437.2 MB, free: 1.379 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2432, allocations: 0 / 437.2 MB, free: 1.379 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.497e-05/0.2432, allocations: 12.25 kB / 437.2 MB, free: 1.367 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.2435, allocations: 24.02 kB / 437.2 MB, free: 1.344 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.2448, allocations: 1.333 MB / 438.6 MB, free: 15.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003175/0.2451, allocations: 0.6885 MB / 439.2 MB, free: 15.2 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.671e-05/0.2451, allocations: 3.984 kB / 439.2 MB, free: 15.19 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.792e-05/0.2452, allocations: 15.44 kB / 439.3 MB, free: 15.18 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2452, allocations: 0 / 439.3 MB, free: 15.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02125/0.2664, allocations: 1.62 MB / 440.9 MB, free: 13.7 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.37/10.64, allocations: 14.39 kB / 440.9 MB, free: 13.69 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.932256210013293] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock.y', 'sample1.y'] 10.796432254952379 10.810424198 10.568833807 Calling exit ...