Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.001524/0.001524, allocations: 112.2 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.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.001798/0.001798, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.379/1.379, allocations: 230.6 MB / 258.3 MB, free: 8.023 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.NonInvertingAmplifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 47.92 kB / 378.6 MB, free: 3.117 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2368, allocations: 53.36 MB / 432 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004305/0.2411, allocations: 2.979 MB / 434.9 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001379/0.2425, allocations: 0.7713 MB / 435.7 MB, free: 3.082 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001383/0.2426, allocations: 4 kB / 435.7 MB, free: 3.078 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001659/0.2428, allocations: 51.5 kB / 435.8 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000202/0.243, allocations: 103.2 kB / 435.9 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003005/0.2433, allocations: 123.8 kB / 436 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004628/0.2437, allocations: 414.4 kB / 436.4 MB, free: 2.398 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002079/0.244, allocations: 89.36 kB / 436.5 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001957/0.2441, allocations: 163.4 kB / 436.6 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002202/0.2444, allocations: 171.2 kB / 436.8 MB, free: 1.98 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.732e-05/0.2444, allocations: 43.94 kB / 436.8 MB, free: 1.938 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.773e-05/0.2445, allocations: 44 kB / 436.9 MB, free: 1.895 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.653e-05/0.2446, allocations: 87.67 kB / 437 MB, free: 1.809 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001787/0.2448, allocations: 171.2 kB / 437.1 MB, free: 1.641 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004955/0.2452, allocations: 454.3 kB / 437.6 MB, free: 1.195 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.2452, allocations: 0 / 437.6 MB, free: 1.195 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2453, allocations: 0 / 437.6 MB, free: 1.195 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.094e-06/0.2453, allocations: 0 / 437.6 MB, free: 1.195 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.001274/0.2465, allocations: 0.6091 MB / 438.2 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.2466, allocations: 12.03 kB / 438.2 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.721e-05/0.2466, allocations: 4.688 kB / 438.2 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.998e-05/0.2467, allocations: 62.72 kB / 438.3 MB, free: 476 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.543e-05/0.2467, allocations: 44.7 kB / 438.3 MB, free: 432 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004053/0.2471, allocations: 249.8 kB / 438.6 MB, free: 156 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.2472, allocations: 20.88 kB / 438.6 MB, free: 136 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.083e-05/0.2472, allocations: 24.38 kB / 438.6 MB, free: 112 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007242/0.2479, allocations: 330.6 kB / 438.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.2479, allocations: 0 / 438.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.057e-05/0.248, allocations: 8 kB / 438.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.248, allocations: 8 kB / 438.9 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008231/0.2488, allocations: 285.8 kB / 439.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001844/0.2506, allocations: 1.104 MB / 440.3 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009671/0.2516, allocations: 234.6 kB / 440.5 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003384/0.2519, allocations: 104.8 kB / 440.6 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.252, allocations: 0 / 440.6 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004888/0.2525, allocations: 189.2 kB / 440.8 MB, free: 13.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.2525, allocations: 0 / 440.8 MB, free: 13.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.003052/0.2555, allocations: 0.5916 MB / 441.4 MB, free: 13.15 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.234e-05/0.2556, allocations: 102.8 kB / 441.5 MB, free: 13.03 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004457/0.2561, allocations: 290 kB / 441.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.351e-05/0.2561, allocations: 33.7 kB / 441.8 MB, free: 12.69 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001835/0.2563, allocations: 203.9 kB / 442 MB, free: 12.49 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.049e-05/0.2563, allocations: 51.66 kB / 442.1 MB, free: 12.44 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/0.2565, allocations: 53.89 kB / 442.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.2567, allocations: 334.8 kB / 442.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004772/0.2571, allocations: 104.2 kB / 442.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005567/0.2577, allocations: 213.2 kB / 442.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.2587, allocations: 326.8 kB / 443.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.2587, allocations: 3.938 kB / 443.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001768/0.2605, allocations: 475.8 kB / 443.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.09e-05/0.2605, allocations: 41.64 kB / 443.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.2605, allocations: 7.938 kB / 443.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004999/0.261, allocations: 84.86 kB / 443.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002816/0.2613, allocations: 55.84 kB / 443.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004032/0.2654, allocations: 1.953 MB / 445.7 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005256/0.2659, allocations: 59.69 kB / 445.8 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.392e-05/0.2659, allocations: 8 kB / 445.8 MB, free: 8.508 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (24): * Single equations (assignments): 22 * 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.0002634/0.2662, allocations: 158 kB / 445.9 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.082e-05/0.2662, allocations: 27.84 kB / 446 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.514e-05/0.2663, allocations: 25.78 kB / 446 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.2663, allocations: 0 / 446 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.2663, allocations: 3.984 kB / 446 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.2663, allocations: 7.938 kB / 446 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003981/0.2667, allocations: 292.5 kB / 446.3 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.2667, allocations: 4.125 kB / 446.3 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001966/0.2669, allocations: 27.97 kB / 446.3 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003963/0.2673, allocations: 80.8 kB / 446.4 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.23e-05/0.2673, allocations: 4 kB / 446.4 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003457/0.2708, allocations: 1.871 MB / 448.3 MB, free: 5.852 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2708, allocations: 0 / 448.3 MB, free: 5.852 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001477/0.2723, allocations: 365.6 kB / 448.6 MB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.372e-05/0.2723, allocations: 27.84 kB / 448.6 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.229e-05/0.2724, allocations: 11.94 kB / 448.7 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/0.2726, allocations: 27.97 kB / 448.7 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.634e-05/0.2727, allocations: 23.91 kB / 448.7 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.2727, allocations: 8.031 kB / 448.7 MB, free: 5.375 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002238/0.2729, allocations: 201.2 kB / 448.9 MB, free: 5.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2729, allocations: 7.938 kB / 448.9 MB, free: 5.172 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004471/0.2734, allocations: 87.78 kB / 449 MB, free: 5.086 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.001481/0.2748, allocations: 0.9009 MB / 449.9 MB, free: 4.152 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001481/0.2763, allocations: 494.4 kB / 450.4 MB, free: 3.645 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.2763, allocations: 4.062 kB / 450.4 MB, free: 3.641 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005004/0.2768, allocations: 230.5 kB / 450.6 MB, free: 3.402 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.2772, allocations: 56.52 kB / 450.7 MB, free: 3.348 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009962/0.2872, allocations: 3.589 MB / 454.3 MB, free: 15.6 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004873/0.2876, allocations: 0.756 MB / 455 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001881/0.2878, allocations: 26.28 kB / 455 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001967/0.288, allocations: 83.41 kB / 455.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of SimCode: time 1.482e-06/0.288, allocations: 4 kB / 455.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03598/0.324, allocations: 7.109 MB / 462.2 MB, free: 7.789 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.28/12.61, allocations: 3.984 kB / 462.2 MB, free: 7.785 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.893347230972722] Failed to read output from testmodel.py, exit status != 0: ['time', 'buffer.opAmp.out.v', 'buffer.opAmp.out.i'] 12.781281312985811 12.809196881 12.55855069 Calling exit ...