Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.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.001295/0.001295, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001381/0.001381, allocations: 216.5 kB / 24.52 MB, free: 3.91 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.398/1.398, allocations: 230.6 MB / 258.3 MB, free: 7.738 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.OpAmps.InvertingAmplifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmplifier",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmplifier",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 43.94 kB / 378.5 MB, free: 2.926 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2693, allocations: 53.37 MB / 431.9 MB, free: 6.633 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.004279/0.2736, allocations: 2.751 MB / 434.7 MB, free: 3.871 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001288/0.2748, allocations: 0.7246 MB / 435.4 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001446/0.275, allocations: 8 kB / 435.4 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001672/0.2752, allocations: 47.5 kB / 435.4 MB, free: 3.086 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002241/0.2754, allocations: 107.2 kB / 435.5 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000317/0.2757, allocations: 119.8 kB / 435.7 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004917/0.2762, allocations: 414.4 kB / 436.1 MB, free: 2.457 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002199/0.2764, allocations: 95.61 kB / 436.1 MB, free: 2.359 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002022/0.2766, allocations: 167.3 kB / 436.3 MB, free: 2.195 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002314/0.2768, allocations: 171.3 kB / 436.5 MB, free: 2.027 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.604e-05/0.2769, allocations: 40 kB / 436.5 MB, free: 1.988 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.871e-05/0.277, allocations: 40 kB / 436.6 MB, free: 1.949 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.545e-05/0.2771, allocations: 79.69 kB / 436.6 MB, free: 1.871 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000174/0.2773, allocations: 147.4 kB / 436.8 MB, free: 1.727 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005384/0.2778, allocations: 458.2 kB / 437.2 MB, free: 1.277 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.2778, allocations: 4 kB / 437.2 MB, free: 1.273 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2778, allocations: 0 / 437.2 MB, free: 1.273 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.2778, allocations: 0 / 437.2 MB, free: 1.273 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001343/0.2791, allocations: 0.6014 MB / 437.8 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.2792, allocations: 12.03 kB / 437.8 MB, free: 0.625 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.68e-05/0.2792, allocations: 4.688 kB / 437.8 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.594e-05/0.2793, allocations: 66.66 kB / 437.9 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.918e-05/0.2794, allocations: 40.7 kB / 438 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004417/0.2798, allocations: 249.8 kB / 438.2 MB, free: 244 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.2798, allocations: 24.88 kB / 438.2 MB, free: 220 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.94e-05/0.2799, allocations: 20.38 kB / 438.2 MB, free: 200 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008009/0.2807, allocations: 382 kB / 438.6 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.2807, allocations: 3.938 kB / 438.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.342e-05/0.2807, allocations: 12 kB / 438.6 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.2807, allocations: 4 kB / 438.6 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008223/0.2816, allocations: 281.8 kB / 438.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001924/0.2835, allocations: 1.026 MB / 439.9 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009146/0.2844, allocations: 250.5 kB / 440.2 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003301/0.2847, allocations: 100.8 kB / 440.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.2848, allocations: 0 / 440.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005643/0.2853, allocations: 237.2 kB / 440.5 MB, free: 13.78 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.2853, allocations: 0 / 440.5 MB, free: 13.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.00231/0.2876, allocations: 0.5869 MB / 441.1 MB, free: 13.19 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.611e-05/0.2877, allocations: 110.8 kB / 441.2 MB, free: 13.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003336/0.288, allocations: 281.8 kB / 441.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.011e-05/0.2881, allocations: 33.7 kB / 441.5 MB, free: 12.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001704/0.2883, allocations: 204 kB / 441.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.655e-05/0.2883, allocations: 43.86 kB / 441.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.2884, allocations: 49.94 kB / 441.8 MB, free: 12.42 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002396/0.2886, allocations: 338.8 kB / 442.1 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003762/0.289, allocations: 134.1 kB / 442.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004895/0.2895, allocations: 289.9 kB / 442.5 MB, free: 11.6 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007245/0.2902, allocations: 303.8 kB / 442.8 MB, free: 11.26 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.296e-05/0.2902, allocations: 11.86 kB / 442.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001297/0.2915, allocations: 0.4924 MB / 443.3 MB, free: 10.74 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.462e-05/0.2916, allocations: 37.7 kB / 443.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.2916, allocations: 64 / 443.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004027/0.292, allocations: 84.8 kB / 443.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/0.2922, allocations: 51.84 kB / 443.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002828/0.2951, allocations: 1.871 MB / 445.4 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003414/0.2954, allocations: 63.8 kB / 445.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.487e-05/0.2954, allocations: 12 kB / 445.5 MB, free: 8.5 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001849/0.2956, allocations: 145.7 kB / 445.6 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.356e-05/0.2956, allocations: 23.86 kB / 445.6 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.098e-05/0.2957, allocations: 25.77 kB / 445.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.2957, allocations: 4 kB / 445.7 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.2957, allocations: 0 / 445.7 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.2957, allocations: 11.95 kB / 445.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00031/0.296, allocations: 264.6 kB / 445.9 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.296, allocations: 0 / 445.9 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001348/0.2962, allocations: 31.91 kB / 446 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002774/0.2964, allocations: 76.81 kB / 446 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.2965, allocations: 3.984 kB / 446 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002454/0.2989, allocations: 1.69 MB / 447.7 MB, free: 6.059 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2989, allocations: 0 / 447.7 MB, free: 6.059 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.3, allocations: 373.6 kB / 448.1 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.544e-05/0.3, allocations: 27.81 kB / 448.1 MB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.147e-05/0.3001, allocations: 7.984 kB / 448.1 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002333/0.3003, allocations: 27.97 kB / 448.2 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.656e-05/0.3004, allocations: 23.91 kB / 448.2 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.3004, allocations: 11.98 kB / 448.2 MB, free: 5.574 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002107/0.3006, allocations: 193.2 kB / 448.4 MB, free: 5.387 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3006, allocations: 0 / 448.4 MB, free: 5.387 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000374/0.301, allocations: 83.89 kB / 448.5 MB, free: 5.305 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 (9): * Single equations (assignments): 6 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001431/0.3024, allocations: 0.898 MB / 449.4 MB, free: 4.371 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001068/0.3035, allocations: 454.3 kB / 449.8 MB, free: 3.898 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.3035, allocations: 4 kB / 449.8 MB, free: 3.895 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005096/0.304, allocations: 238.1 kB / 450 MB, free: 3.652 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003773/0.3044, allocations: 48.39 kB / 450.1 MB, free: 3.605 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005764/0.3101, allocations: 3.225 MB / 453.3 MB, free: 212 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000151/0.3103, allocations: 150.9 kB / 453.5 MB, free: 40 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001058/0.3104, allocations: 26.28 kB / 453.5 MB, free: 12 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001569/0.3105, allocations: 83.48 kB / 453.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3105, allocations: 0 / 453.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03294/0.3435, allocations: 7.213 MB / 460.8 MB, free: 8.941 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.72/13.06, allocations: 12 kB / 460.8 MB, free: 8.93 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmplifier_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmplifier.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.390690420987085] Failed to read output from testmodel.py, exit status != 0: ['time', 'gain.opAmp.out.v', 'gain.opAmp.out.i'] 13.24322438694071 13.262300688 12.98019543 Calling exit ...