Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001573/0.001573, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001958/0.001958, allocations: 212 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.474/1.474, allocations: 230.6 MB / 258.3 MB, free: 8.059 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 64.77 kB / 378.6 MB, free: 3.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.2539, allocations: 53.37 MB / 432 MB, free: 7.074 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004366/0.2583, allocations: 2.976 MB / 434.9 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001426/0.2597, allocations: 0.7635 MB / 435.7 MB, free: 3.316 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001564/0.2599, allocations: 12 kB / 435.7 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001831/0.2601, allocations: 47.5 kB / 435.7 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002086/0.2603, allocations: 103.2 kB / 435.9 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003059/0.2606, allocations: 119.8 kB / 436 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004739/0.2611, allocations: 422.4 kB / 436.4 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002285/0.2613, allocations: 95.66 kB / 436.5 MB, free: 2.527 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000202/0.2615, allocations: 155.4 kB / 436.6 MB, free: 2.375 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002287/0.2617, allocations: 179.2 kB / 436.8 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.135e-05/0.2618, allocations: 40 kB / 436.8 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.175e-05/0.2618, allocations: 40 kB / 436.9 MB, free: 2.121 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.758e-05/0.2619, allocations: 79.7 kB / 437 MB, free: 2.043 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000174/0.2621, allocations: 175.2 kB / 437.1 MB, free: 1.871 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005151/0.2626, allocations: 455.4 kB / 437.6 MB, free: 1.426 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2626, allocations: 0 / 437.6 MB, free: 1.426 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2626, allocations: 0 / 437.6 MB, free: 1.426 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.195e-05/0.2626, allocations: 0 / 437.6 MB, free: 1.426 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.001286/0.2639, allocations: 0.6053 MB / 438.2 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.2639, allocations: 12.03 kB / 438.2 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.324e-05/0.264, allocations: 66.72 kB / 438.3 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.204e-05/0.2641, allocations: 40.64 kB / 438.3 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000431/0.2645, allocations: 245.8 kB / 438.5 MB, free: 404 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.731e-05/0.2645, allocations: 24.88 kB / 438.6 MB, free: 380 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.816e-05/0.2646, allocations: 28.36 kB / 438.6 MB, free: 352 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007534/0.2654, allocations: 326.8 kB / 438.9 MB, free: 12 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.2654, allocations: 0 / 438.9 MB, free: 12 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.237e-05/0.2654, allocations: 12 kB / 438.9 MB, free: 0 / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.773e-05/0.2654, allocations: 4.047 kB / 438.9 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008132/0.2662, allocations: 293.7 kB / 439.2 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001897/0.2681, allocations: 1.1 MB / 440.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008414/0.269, allocations: 246.6 kB / 440.5 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003332/0.2693, allocations: 96.78 kB / 440.6 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.41e-05/0.2693, allocations: 7.938 kB / 440.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004897/0.2698, allocations: 181 kB / 440.8 MB, free: 13.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 2.104e-06/0.2698, allocations: 0 / 440.8 MB, free: 13.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002284/0.2721, allocations: 0.5916 MB / 441.4 MB, free: 13.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.627e-05/0.2722, allocations: 106.8 kB / 441.5 MB, free: 13.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003617/0.2726, allocations: 285.8 kB / 441.8 MB, free: 12.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.443e-05/0.2726, allocations: 29.7 kB / 441.8 MB, free: 12.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/0.2728, allocations: 204 kB / 442 MB, free: 12.72 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.11e-05/0.2728, allocations: 43.69 kB / 442.1 MB, free: 12.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.2729, allocations: 57.89 kB / 442.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.2731, allocations: 335 kB / 442.5 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003564/0.2735, allocations: 100.2 kB / 442.6 MB, free: 12.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004514/0.2739, allocations: 225.1 kB / 442.8 MB, free: 11.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007232/0.2746, allocations: 320.5 kB / 443.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.2746, allocations: 0 / 443.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00124/0.2759, allocations: 487.7 kB / 443.6 MB, free: 11.06 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.152e-05/0.2759, allocations: 32.52 kB / 443.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.2759, allocations: 4 kB / 443.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003836/0.2763, allocations: 88.86 kB / 443.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002166/0.2765, allocations: 51.89 kB / 443.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002989/0.2795, allocations: 1.961 MB / 445.7 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003574/0.2799, allocations: 55.75 kB / 445.8 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.176e-05/0.2799, allocations: 23.92 kB / 445.8 MB, free: 8.73 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.000184/0.2801, allocations: 152.8 kB / 445.9 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.37e-05/0.2801, allocations: 27.89 kB / 446 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.259e-05/0.2802, allocations: 21.77 kB / 446 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.2802, allocations: 4 kB / 446 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-06/0.2802, allocations: 0 / 446 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.2802, allocations: 0 / 446 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003119/0.2805, allocations: 300.4 kB / 446.3 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2805, allocations: 0 / 446.3 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/0.2807, allocations: 23.98 kB / 446.3 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002812/0.281, allocations: 80.8 kB / 446.4 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.281, allocations: 0 / 446.4 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0025/0.2835, allocations: 1.886 MB / 448.3 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.2835, allocations: 0 / 448.3 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/0.2845, allocations: 361.6 kB / 448.6 MB, free: 5.703 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.412e-05/0.2846, allocations: 31.84 kB / 448.6 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.764e-05/0.2846, allocations: 3.938 kB / 448.6 MB, free: 5.668 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002486/0.2849, allocations: 39.89 kB / 448.7 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.435e-05/0.285, allocations: 19.97 kB / 448.7 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.285, allocations: 0 / 448.7 MB, free: 5.609 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002363/0.2852, allocations: 205.2 kB / 448.9 MB, free: 5.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2852, allocations: 4 kB / 448.9 MB, free: 5.406 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004628/0.2857, allocations: 79.84 kB / 449 MB, free: 5.328 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.001421/0.2871, allocations: 0.9124 MB / 449.9 MB, free: 4.383 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001387/0.2885, allocations: 490.3 kB / 450.4 MB, free: 3.879 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.2885, allocations: 4.062 kB / 450.4 MB, free: 3.875 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004904/0.289, allocations: 230.5 kB / 450.6 MB, free: 3.637 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/0.2894, allocations: 64.8 kB / 450.7 MB, free: 3.578 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007447/0.2968, allocations: 3.577 MB / 454.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003808/0.2972, allocations: 0.756 MB / 455 MB, free: 15.06 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001362/0.2973, allocations: 26.28 kB / 455 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/0.2975, allocations: 83.41 kB / 455.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of SimCode: time 1.062e-06/0.2975, allocations: 0 / 455.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03566/0.3331, allocations: 7.04 MB / 462.2 MB, free: 8.07 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.09, allocations: 19.97 kB / 462.2 MB, free: 8.051 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.483887766953558] Failed to read output from testmodel.py, exit status != 0: ['time', 'buffer.opAmp.out.v', 'buffer.opAmp.out.i'] 12.18166779121384 12.199785024 11.932285679 Calling exit ...