Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.00178/0.00178, allocations: 108.6 kB / 21.22 MB, free: 0.75 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.002208/0.002208, allocations: 191.7 kB / 24.51 MB, free: 4.016 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.388/1.388, allocations: 225.6 MB / 253.3 MB, free: 13.04 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.Sample3,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 47.94 kB / 371.2 MB, free: 9.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2757, allocations: 52.19 MB / 423.4 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003001/0.2787, allocations: 1.721 MB / 425.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004275/0.2792, allocations: 167.4 kB / 425.3 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.479e-05/0.2793, allocations: 4 kB / 425.3 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.388e-05/0.2793, allocations: 11.88 kB / 425.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001242/0.2794, allocations: 3.938 kB / 425.3 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002373/0.2797, allocations: 43.83 kB / 425.4 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001254/0.2798, allocations: 59.83 kB / 425.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.2799, allocations: 27.92 kB / 425.5 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.27e-05/0.2799, allocations: 23.86 kB / 425.5 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.698e-05/0.28, allocations: 23.86 kB / 425.5 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.28, allocations: 4 kB / 425.5 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.333e-05/0.28, allocations: 4 kB / 425.5 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.002e-05/0.2801, allocations: 19.92 kB / 425.5 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.276e-05/0.2801, allocations: 39.73 kB / 425.6 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.2803, allocations: 72.44 kB / 425.6 MB, free: 12.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2803, allocations: 0 / 425.6 MB, free: 12.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2803, allocations: 7.938 kB / 425.6 MB, free: 12.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.2803, allocations: 0 / 425.6 MB, free: 12.41 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004531/0.2807, allocations: 313.9 kB / 426 MB, free: 12.07 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.2808, allocations: 12.03 kB / 426 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.539e-05/0.2808, allocations: 192 / 426 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.671e-05/0.2808, allocations: 42.73 kB / 426 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.06e-05/0.2808, allocations: 16.84 kB / 426 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002123/0.2811, allocations: 133.7 kB / 426.2 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.2811, allocations: 12.31 kB / 426.2 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.2811, allocations: 8.312 kB / 426.2 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003389/0.2814, allocations: 170.1 kB / 426.3 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.2814, allocations: 0 / 426.3 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.2814, allocations: 4 kB / 426.3 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.2814, allocations: 0 / 426.3 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/0.2816, allocations: 39.91 kB / 426.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003833/0.2819, allocations: 340.9 kB / 426.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002345/0.2822, allocations: 107.8 kB / 426.8 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.2823, allocations: 58.69 kB / 426.9 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.2823, allocations: 0 / 426.9 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.2823, allocations: 34.55 kB / 426.9 MB, free: 10.96 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 9.11e-07/0.2823, allocations: 0 / 426.9 MB, free: 10.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003242/0.2827, allocations: 125.7 kB / 427 MB, free: 10.83 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.123e-05/0.2827, allocations: 110.8 kB / 427.1 MB, free: 10.7 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.2829, allocations: 137.8 kB / 427.3 MB, free: 10.55 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.2829, allocations: 29.7 kB / 427.3 MB, free: 10.52 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.648e-05/0.2829, allocations: 88.08 kB / 427.4 MB, free: 10.43 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.426e-05/0.283, allocations: 15.94 kB / 427.4 MB, free: 10.41 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.357e-05/0.283, allocations: 21.72 kB / 427.4 MB, free: 10.39 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.2832, allocations: 322.8 kB / 427.7 MB, free: 10.06 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.448e-05/0.2832, allocations: 20 kB / 427.8 MB, free: 10.04 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.385e-05/0.2833, allocations: 71.64 kB / 427.8 MB, free: 9.945 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.2835, allocations: 95.59 kB / 427.9 MB, free: 9.824 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2835, allocations: 0 / 427.9 MB, free: 9.824 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000186/0.2836, allocations: 109.4 kB / 428 MB, free: 9.711 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.2837, allocations: 4 kB / 428 MB, free: 9.707 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.2837, allocations: 8.125 kB / 428 MB, free: 9.699 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.2837, allocations: 0 / 428 MB, free: 9.699 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.443e-05/0.2837, allocations: 23.92 kB / 428.1 MB, free: 9.676 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/0.2838, allocations: 8.219 kB / 428.1 MB, free: 9.668 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.812e-05/0.2838, allocations: 12 kB / 428.1 MB, free: 9.656 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.2838, allocations: 4 kB / 428.1 MB, free: 9.652 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (10): * Single equations (assignments): 10 * 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 0.0001021/0.2839, allocations: 125.8 kB / 428.2 MB, free: 9.52 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.2841, allocations: 81.73 kB / 428.3 MB, free: 9.434 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.891e-05/0.2841, allocations: 16.72 kB / 428.3 MB, free: 9.414 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.2841, allocations: 0 / 428.3 MB, free: 9.414 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.2841, allocations: 0 / 428.3 MB, free: 9.414 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.2841, allocations: 7.922 kB / 428.3 MB, free: 9.406 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000244/0.2843, allocations: 168.6 kB / 428.5 MB, free: 9.199 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.2843, allocations: 0 / 428.5 MB, free: 9.199 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.979e-05/0.2844, allocations: 16 kB / 428.5 MB, free: 9.184 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.2844, allocations: 0 / 428.5 MB, free: 9.184 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.2844, allocations: 4 kB / 428.5 MB, free: 9.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.2844, allocations: 3.984 kB / 428.5 MB, free: 9.176 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2844, allocations: 0 / 428.5 MB, free: 9.176 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003938/0.2848, allocations: 316.3 kB / 428.8 MB, free: 8.844 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.345e-05/0.2849, allocations: 19.88 kB / 428.8 MB, free: 8.824 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.2849, allocations: 4 kB / 428.8 MB, free: 8.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.093e-05/0.285, allocations: 0 / 428.8 MB, free: 8.82 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.611e-05/0.285, allocations: 7.984 kB / 428.8 MB, free: 8.812 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.285, allocations: 0 / 428.8 MB, free: 8.812 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.105e-05/0.2851, allocations: 112.7 kB / 429 MB, free: 8.703 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2851, allocations: 0 / 429 MB, free: 8.703 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002782/0.2854, allocations: 15.95 kB / 429 MB, free: 8.688 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.0006412/0.286, allocations: 0.8382 MB / 429.8 MB, free: 7.816 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001822/0.2862, allocations: 64.03 kB / 429.9 MB, free: 7.754 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.2862, allocations: 3.938 kB / 429.9 MB, free: 7.75 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.838e-05/0.2862, allocations: 8.609 kB / 429.9 MB, free: 7.742 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004496/0.2867, allocations: 51.95 kB / 429.9 MB, free: 7.691 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/0.2884, allocations: 1.592 MB / 431.5 MB, free: 5.965 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/0.2887, allocations: 0.7118 MB / 432.2 MB, free: 5.227 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.296e-05/0.2888, allocations: 4.672 kB / 432.2 MB, free: 5.219 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.069e-05/0.2888, allocations: 23.44 kB / 432.3 MB, free: 5.195 MB / 334.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2888, allocations: 0 / 432.3 MB, free: 5.195 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02263/0.3114, allocations: 2.057 MB / 434.3 MB, free: 3.289 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.45/10.76, allocations: 4.062 kB / 434.3 MB, free: 3.285 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.068320919002872] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'sample2.y', 'hold1.y'] 10.91709504800383 10.932608197 10.649332925 Calling exit ...