Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.001232/0.001232, 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.001468/0.001468, allocations: 191.7 kB / 24.5 MB, free: 4.02 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.341/1.341, allocations: 225.7 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.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 43.92 kB / 371.3 MB, free: 9.828 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2431, allocations: 52.19 MB / 423.4 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004477/0.2476, allocations: 2.961 MB / 426.4 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001348/0.2489, allocations: 0.7401 MB / 427.1 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001445/0.2491, allocations: 7.938 kB / 427.2 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001763/0.2492, allocations: 51.5 kB / 427.2 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000215/0.2495, allocations: 111.2 kB / 427.3 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002992/0.2498, allocations: 111.8 kB / 427.4 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004938/0.2503, allocations: 418.4 kB / 427.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002161/0.2505, allocations: 87.67 kB / 427.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002159/0.2507, allocations: 167.4 kB / 428.1 MB, free: 9.926 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002326/0.2509, allocations: 167.3 kB / 428.2 MB, free: 9.762 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.361e-05/0.251, allocations: 44 kB / 428.3 MB, free: 9.719 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.934e-05/0.251, allocations: 43.94 kB / 428.3 MB, free: 9.676 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.041e-05/0.2511, allocations: 71.77 kB / 428.4 MB, free: 9.605 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001716/0.2513, allocations: 175.2 kB / 428.6 MB, free: 9.434 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000479/0.2518, allocations: 467 kB / 429 MB, free: 8.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.2518, allocations: 0 / 429 MB, free: 8.98 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2518, allocations: 0 / 429 MB, free: 8.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.2518, allocations: 0 / 429 MB, free: 8.98 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.001375/0.2532, allocations: 0.6014 MB / 429.6 MB, free: 8.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.2532, allocations: 8.031 kB / 429.6 MB, free: 8.332 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.083e-05/0.2532, allocations: 8.688 kB / 429.6 MB, free: 8.324 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.693e-05/0.2533, allocations: 62.72 kB / 429.7 MB, free: 8.254 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.081e-05/0.2534, allocations: 32.75 kB / 429.7 MB, free: 8.223 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004286/0.2538, allocations: 245.8 kB / 430 MB, free: 7.957 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.565e-05/0.2538, allocations: 28.81 kB / 430 MB, free: 7.93 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.568e-05/0.2539, allocations: 24.38 kB / 430 MB, free: 7.906 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007414/0.2546, allocations: 326.6 kB / 430.3 MB, free: 7.574 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.2546, allocations: 0 / 430.3 MB, free: 7.574 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.485e-05/0.2547, allocations: 12 kB / 430.4 MB, free: 7.562 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.502e-05/0.2547, allocations: 11.94 kB / 430.4 MB, free: 7.551 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008316/0.2555, allocations: 281.8 kB / 430.6 MB, free: 7.277 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001928/0.2574, allocations: 1.108 MB / 431.8 MB, free: 6.094 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008672/0.2583, allocations: 242.5 kB / 432 MB, free: 5.848 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003372/0.2586, allocations: 104.8 kB / 432.1 MB, free: 5.742 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.2587, allocations: 0 / 432.1 MB, free: 5.742 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005082/0.2592, allocations: 189 kB / 432.3 MB, free: 5.539 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.153e-06/0.2592, allocations: 0 / 432.3 MB, free: 5.539 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.002326/0.2615, allocations: 0.5838 MB / 432.9 MB, free: 4.945 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.015e-05/0.2616, allocations: 110.8 kB / 433 MB, free: 4.812 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003317/0.2619, allocations: 289.8 kB / 433.3 MB, free: 4.52 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.037e-05/0.2619, allocations: 29.7 kB / 433.3 MB, free: 4.484 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001546/0.2621, allocations: 200 kB / 433.5 MB, free: 4.285 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.273e-05/0.2621, allocations: 39.64 kB / 433.5 MB, free: 4.246 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.97e-05/0.2622, allocations: 53.94 kB / 433.6 MB, free: 4.184 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.2624, allocations: 330.8 kB / 433.9 MB, free: 3.852 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003568/0.2628, allocations: 116.1 kB / 434 MB, free: 3.738 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004419/0.2632, allocations: 205.3 kB / 434.2 MB, free: 3.492 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007643/0.264, allocations: 320 kB / 434.5 MB, free: 3.137 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/0.264, allocations: 3.938 kB / 434.5 MB, free: 3.133 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0013/0.2653, allocations: 479.7 kB / 435 MB, free: 2.648 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.011e-05/0.2653, allocations: 37.7 kB / 435 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/0.2653, allocations: 8.047 kB / 435 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000398/0.2657, allocations: 88.8 kB / 435.1 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000228/0.266, allocations: 56.05 kB / 435.2 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003188/0.2692, allocations: 1.957 MB / 437.1 MB, free: 392 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003518/0.2695, allocations: 67.61 kB / 437.2 MB, free: 324 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.2695, allocations: 8 kB / 437.2 MB, free: 316 kB / 334.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.000167/0.2697, allocations: 145.8 kB / 437.4 MB, free: 160 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.973e-05/0.2697, allocations: 27.81 kB / 437.4 MB, free: 132 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.57e-05/0.2698, allocations: 29.83 kB / 437.4 MB, free: 100 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2698, allocations: 4 kB / 437.4 MB, free: 96 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.2698, allocations: 0 / 437.4 MB, free: 96 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.2698, allocations: 3.938 kB / 437.4 MB, free: 92 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003273/0.2701, allocations: 292.5 kB / 437.7 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2701, allocations: 0 / 437.7 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001309/0.2703, allocations: 19.98 kB / 437.7 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002877/0.2705, allocations: 88.86 kB / 437.8 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.91e-05/0.2706, allocations: 8.031 kB / 437.8 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002649/0.2732, allocations: 1.883 MB / 439.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.2732, allocations: 0 / 439.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.2743, allocations: 369.6 kB / 440.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.577e-05/0.2744, allocations: 23.84 kB / 440.1 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.172e-05/0.2744, allocations: 11.94 kB / 440.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002421/0.2747, allocations: 31.95 kB / 440.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.412e-05/0.2747, allocations: 19.97 kB / 440.1 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.2748, allocations: 8 kB / 440.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002245/0.275, allocations: 197.2 kB / 440.3 MB, free: 12.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.275, allocations: 4 kB / 440.3 MB, free: 12.97 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004155/0.2754, allocations: 79.83 kB / 440.4 MB, free: 12.89 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.001453/0.2768, allocations: 0.9045 MB / 441.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001358/0.2782, allocations: 497.8 kB / 441.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.2782, allocations: 0 / 441.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005206/0.2787, allocations: 243 kB / 442.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.279, allocations: 47.83 kB / 442.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007654/0.2867, allocations: 3.589 MB / 445.7 MB, free: 7.406 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004016/0.2871, allocations: 0.7558 MB / 446.4 MB, free: 6.625 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001113/0.2872, allocations: 26.33 kB / 446.5 MB, free: 6.598 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001453/0.2874, allocations: 83.41 kB / 446.6 MB, free: 6.516 MB / 350.1 MB Notification: Performance of SimCode: time 1.102e-06/0.2874, allocations: 0 / 446.6 MB, free: 6.516 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03466/0.322, allocations: 7.083 MB / 453.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/12.55, allocations: 16.05 kB / 453.7 MB, free: 15.61 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.805154195986688] Failed to read output from testmodel.py, exit status != 0: ['time', 'buffer.opAmp.out.v', 'buffer.opAmp.out.i'] 12.726835364999715 12.75497352 12.498080256 Calling exit ...