Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.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.001619/0.001619, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001989/0.001989, allocations: 212.9 kB / 24.52 MB, free: 3.941 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.405/1.405, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.Electrical.Analog.Examples.InvertingAmp,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_InvertingAmp",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.InvertingAmp,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_InvertingAmp",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 47.92 kB / 378.5 MB, free: 2.945 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2696, allocations: 53.36 MB / 431.9 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.004336/0.2739, allocations: 2.62 MB / 434.5 MB, free: 4.012 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001525/0.2755, allocations: 0.6544 MB / 435.2 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001901/0.2757, allocations: 11.94 kB / 435.2 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001876/0.2758, allocations: 43.52 kB / 435.2 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000237/0.2761, allocations: 91.19 kB / 435.3 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002762/0.2764, allocations: 83.89 kB / 435.4 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004536/0.2768, allocations: 378.5 kB / 435.7 MB, free: 2.754 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002024/0.277, allocations: 91.36 kB / 435.8 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000183/0.2772, allocations: 151.4 kB / 436 MB, free: 2.516 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002129/0.2774, allocations: 163.3 kB / 436.1 MB, free: 2.355 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.362e-05/0.2775, allocations: 32 kB / 436.2 MB, free: 2.324 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.177e-05/0.2775, allocations: 36 kB / 436.2 MB, free: 2.289 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.973e-05/0.2776, allocations: 75.69 kB / 436.3 MB, free: 2.215 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001623/0.2778, allocations: 135.4 kB / 436.4 MB, free: 2.082 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004347/0.2782, allocations: 378.5 kB / 436.8 MB, free: 1.711 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2782, allocations: 0 / 436.8 MB, free: 1.711 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.2782, allocations: 4 kB / 436.8 MB, free: 1.707 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.2782, allocations: 3.938 kB / 436.8 MB, free: 1.703 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001379/0.2796, allocations: 0.5897 MB / 437.4 MB, free: 1.078 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.2797, allocations: 12.03 kB / 437.4 MB, free: 1.066 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.608e-05/0.2797, allocations: 8.688 kB / 437.4 MB, free: 1.059 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.927e-05/0.2797, allocations: 62.72 kB / 437.5 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.287e-05/0.2798, allocations: 36.7 kB / 437.5 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004287/0.2803, allocations: 215 kB / 437.7 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/0.2803, allocations: 16.88 kB / 437.7 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.232e-05/0.2803, allocations: 24.38 kB / 437.8 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000722/0.2811, allocations: 357.9 kB / 438.1 MB, free: 308 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.2811, allocations: 4 kB / 438.1 MB, free: 304 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.049e-05/0.2811, allocations: 8 kB / 438.1 MB, free: 296 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.2811, allocations: 8 kB / 438.1 MB, free: 288 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007789/0.2819, allocations: 249.5 kB / 438.4 MB, free: 36 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001729/0.2836, allocations: 0.9808 MB / 439.3 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007734/0.2844, allocations: 206.5 kB / 439.5 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000303/0.2847, allocations: 88.78 kB / 439.6 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.177e-05/0.2847, allocations: 4 kB / 439.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004945/0.2852, allocations: 213.3 kB / 439.8 MB, free: 14.42 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.393e-06/0.2852, allocations: 0 / 439.8 MB, free: 14.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001982/0.2872, allocations: 461.6 kB / 440.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.749e-05/0.2873, allocations: 102.8 kB / 440.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003291/0.2876, allocations: 285.8 kB / 440.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.937e-05/0.2877, allocations: 29.7 kB / 440.7 MB, free: 13.51 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.2878, allocations: 204 kB / 440.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.749e-05/0.2878, allocations: 35.69 kB / 440.9 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.2879, allocations: 53.89 kB / 441 MB, free: 13.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.2881, allocations: 342.8 kB / 441.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000341/0.2884, allocations: 121.9 kB / 441.4 MB, free: 12.74 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004385/0.2889, allocations: 280 kB / 441.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006807/0.2896, allocations: 307.8 kB / 442 MB, free: 12.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.2896, allocations: 0 / 442 MB, free: 12.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001186/0.2908, allocations: 457.5 kB / 442.5 MB, free: 11.58 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.978e-05/0.2908, allocations: 37.62 kB / 442.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.2908, allocations: 4 kB / 442.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003202/0.2911, allocations: 68.81 kB / 442.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/0.2913, allocations: 51.95 kB / 442.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002388/0.2937, allocations: 1.6 MB / 444.2 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000333/0.2941, allocations: 55.86 kB / 444.3 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.858e-05/0.2941, allocations: 16 kB / 444.3 MB, free: 9.629 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001748/0.2943, allocations: 149.7 kB / 444.4 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.287e-05/0.2943, allocations: 27.81 kB / 444.5 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.25e-05/0.2944, allocations: 25.7 kB / 444.5 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.2944, allocations: 4 kB / 444.5 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.562e-06/0.2944, allocations: 4 kB / 444.5 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.2944, allocations: 7.922 kB / 444.5 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002669/0.2946, allocations: 240.6 kB / 444.7 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2946, allocations: 0 / 444.7 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/0.2948, allocations: 15.98 kB / 444.8 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002573/0.295, allocations: 68.98 kB / 444.8 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.784e-05/0.295, allocations: 8 kB / 444.8 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002187/0.2972, allocations: 1.584 MB / 446.4 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2972, allocations: 8.094 kB / 446.4 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009541/0.2982, allocations: 309.4 kB / 446.7 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.89e-05/0.2983, allocations: 35.83 kB / 446.8 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.181e-05/0.2983, allocations: 11.94 kB / 446.8 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002343/0.2986, allocations: 23.97 kB / 446.8 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.324e-05/0.2986, allocations: 35.83 kB / 446.8 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.2986, allocations: 0 / 446.8 MB, free: 6.895 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002099/0.2989, allocations: 201.2 kB / 447 MB, free: 6.703 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2989, allocations: 4 kB / 447 MB, free: 6.699 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003572/0.2992, allocations: 79.89 kB / 447.1 MB, free: 6.621 MB / 350.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: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001286/0.3005, allocations: 0.8472 MB / 448 MB, free: 5.742 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001014/0.3015, allocations: 443.2 kB / 448.4 MB, free: 5.281 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3015, allocations: 3.938 kB / 448.4 MB, free: 5.277 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004624/0.302, allocations: 215.2 kB / 448.6 MB, free: 5.055 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.3023, allocations: 49.31 kB / 448.7 MB, free: 5.008 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005401/0.3077, allocations: 3.111 MB / 451.8 MB, free: 1.695 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001507/0.3078, allocations: 146.9 kB / 451.9 MB, free: 1.535 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001143/0.3079, allocations: 22.3 kB / 451.9 MB, free: 1.512 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001326/0.3081, allocations: 79.41 kB / 452 MB, free: 1.438 MB / 350.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3081, allocations: 0 / 452 MB, free: 1.438 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03435/0.3424, allocations: 7.12 MB / 459.1 MB, free: 10.55 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.76/13.1, allocations: 8.062 kB / 459.1 MB, free: 10.54 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_InvertingAmp_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_InvertingAmp.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.424416764988564] Failed to read output from testmodel.py, exit status != 0: ['time', 'vIn.signalSource.y'] 13.267262456007302 13.282558792 13.001287548 Calling exit ...