Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.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.001868/0.001868, 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.001993/0.001993, allocations: 191.5 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.397/1.397, 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.Electrical.Analog.Examples.OpAmps.InvertingAmplifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmplifier",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmplifier",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 47.92 kB / 371.3 MB, free: 9.836 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2367, allocations: 52.18 MB / 423.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.004091/0.2408, allocations: 2.965 MB / 426.4 MB, free: 11.63 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001184/0.242, allocations: 0.7401 MB / 427.1 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000126/0.2421, allocations: 7.938 kB / 427.2 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001487/0.2423, allocations: 51.5 kB / 427.2 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000187/0.2425, allocations: 103.2 kB / 427.3 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002718/0.2428, allocations: 119.8 kB / 427.4 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004369/0.2432, allocations: 422.4 kB / 427.8 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001836/0.2434, allocations: 87.67 kB / 427.9 MB, free: 10.11 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001837/0.2436, allocations: 155.4 kB / 428.1 MB, free: 9.953 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000215/0.2438, allocations: 171.3 kB / 428.2 MB, free: 9.785 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.562e-05/0.2438, allocations: 40 kB / 428.3 MB, free: 9.746 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.749e-05/0.2439, allocations: 48 kB / 428.3 MB, free: 9.699 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.21e-05/0.244, allocations: 79.69 kB / 428.4 MB, free: 9.621 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001703/0.2441, allocations: 179.1 kB / 428.6 MB, free: 9.445 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004756/0.2446, allocations: 455.1 kB / 429 MB, free: 9.004 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2446, allocations: 0 / 429 MB, free: 9.004 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2446, allocations: 0 / 429 MB, free: 9.004 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.2446, allocations: 0 / 429 MB, free: 9.004 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.001294/0.2459, allocations: 0.6092 MB / 429.6 MB, free: 8.355 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.246, allocations: 8.031 kB / 429.6 MB, free: 8.348 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.925e-05/0.246, allocations: 4.688 kB / 429.6 MB, free: 8.344 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.265e-05/0.246, allocations: 62.72 kB / 429.7 MB, free: 8.273 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.561e-05/0.2461, allocations: 40.75 kB / 429.7 MB, free: 8.234 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004211/0.2465, allocations: 241.8 kB / 430 MB, free: 7.973 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.2465, allocations: 20.88 kB / 430 MB, free: 7.953 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.455e-05/0.2466, allocations: 24.38 kB / 430 MB, free: 7.93 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007092/0.2473, allocations: 330.6 kB / 430.3 MB, free: 7.594 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.2473, allocations: 0 / 430.3 MB, free: 7.594 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.289e-05/0.2473, allocations: 12 kB / 430.4 MB, free: 7.582 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.2474, allocations: 4 kB / 430.4 MB, free: 7.578 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008096/0.2482, allocations: 289.7 kB / 430.6 MB, free: 7.297 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001875/0.25, allocations: 1.104 MB / 431.8 MB, free: 6.117 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008644/0.2509, allocations: 234.6 kB / 432 MB, free: 5.879 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003291/0.2512, allocations: 104.8 kB / 432.1 MB, free: 5.773 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.2513, allocations: 3.984 kB / 432.1 MB, free: 5.77 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004695/0.2517, allocations: 181.8 kB / 432.3 MB, free: 5.57 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.323e-06/0.2517, allocations: 0 / 432.3 MB, free: 5.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.002363/0.2541, allocations: 0.5876 MB / 432.9 MB, free: 4.973 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.912e-05/0.2542, allocations: 118.7 kB / 433 MB, free: 4.832 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003144/0.2545, allocations: 277.8 kB / 433.2 MB, free: 4.551 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.2545, allocations: 29.7 kB / 433.3 MB, free: 4.516 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.2547, allocations: 204 kB / 433.5 MB, free: 4.312 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.767e-05/0.2547, allocations: 47.67 kB / 433.5 MB, free: 4.266 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.208e-05/0.2548, allocations: 49.89 kB / 433.6 MB, free: 4.207 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.2549, allocations: 342.8 kB / 433.9 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003479/0.2553, allocations: 100.4 kB / 434 MB, free: 3.766 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004095/0.2557, allocations: 206.2 kB / 434.2 MB, free: 3.523 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007189/0.2564, allocations: 311.1 kB / 434.5 MB, free: 3.18 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.2564, allocations: 3.938 kB / 434.5 MB, free: 3.176 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00125/0.2577, allocations: 467.7 kB / 435 MB, free: 2.703 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.683e-05/0.2577, allocations: 33.7 kB / 435 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.2577, allocations: 4 kB / 435 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000367/0.2581, allocations: 88.86 kB / 435.1 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002058/0.2583, allocations: 55.83 kB / 435.1 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002669/0.261, allocations: 1.891 MB / 437 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003277/0.2613, allocations: 51.75 kB / 437.1 MB, free: 472 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.276e-05/0.2613, allocations: 11.94 kB / 437.1 MB, free: 460 kB / 334.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.0001608/0.2615, allocations: 157.8 kB / 437.2 MB, free: 292 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.727e-05/0.2615, allocations: 23.84 kB / 437.3 MB, free: 268 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.608e-05/0.2616, allocations: 25.78 kB / 437.3 MB, free: 240 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2616, allocations: 0 / 437.3 MB, free: 240 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.2616, allocations: 4 kB / 437.3 MB, free: 236 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.964e-06/0.2616, allocations: 7.922 kB / 437.3 MB, free: 228 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002997/0.2619, allocations: 284.5 kB / 437.6 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.2619, allocations: 4 kB / 437.6 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/0.262, allocations: 23.97 kB / 437.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002713/0.2623, allocations: 88.86 kB / 437.7 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.2623, allocations: 4 kB / 437.7 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002334/0.2646, allocations: 1.702 MB / 439.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.2646, allocations: 3.938 kB / 439.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/0.2657, allocations: 372.8 kB / 439.8 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.367e-05/0.2658, allocations: 31.78 kB / 439.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.585e-05/0.2658, allocations: 3.984 kB / 439.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002392/0.2661, allocations: 35.97 kB / 439.8 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.242e-05/0.2661, allocations: 27.89 kB / 439.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.2662, allocations: 0 / 439.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002057/0.2664, allocations: 201.2 kB / 440.1 MB, free: 13.28 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2664, allocations: 0 / 440.1 MB, free: 13.28 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003732/0.2667, allocations: 83.83 kB / 440.1 MB, free: 13.2 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.001392/0.2681, allocations: 0.9018 MB / 441 MB, free: 12.26 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001009/0.2691, allocations: 426.3 kB / 441.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2691, allocations: 4.125 kB / 441.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004737/0.2696, allocations: 234.4 kB / 441.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.2699, allocations: 56.03 kB / 441.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005137/0.2751, allocations: 3.101 MB / 444.9 MB, free: 8.266 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003635/0.2754, allocations: 0.7558 MB / 445.6 MB, free: 7.484 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001036/0.2755, allocations: 26.28 kB / 445.6 MB, free: 7.457 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001284/0.2757, allocations: 83.41 kB / 445.7 MB, free: 7.375 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2757, allocations: 4 kB / 445.7 MB, free: 7.371 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02977/0.3054, allocations: 7.106 MB / 452.8 MB, free: 460 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/12.5, allocations: 4.062 kB / 452.8 MB, free: 456 kB / 350.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmplifier_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmplifier.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.846537069999613] Failed to read output from testmodel.py, exit status != 0: ['time', 'gain.opAmp.out.v', 'gain.opAmp.out.i'] 12.667000908986665 12.68161477 12.4340728 Calling exit ...