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.001641/0.001641, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.001895/0.001895, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.439/1.439, allocations: 230.4 MB / 254.7 MB, free: 15.22 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.001877/0.001877, allocations: 67.84 kB / 373.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1037, allocations: 53.32 MB / 426.9 MB, free: 4.855 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004977/0.1087, allocations: 2.954 MB / 429.9 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001717/0.1104, allocations: 0.7635 MB / 430.6 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000321/0.1107, allocations: 7.938 kB / 430.6 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002593/0.111, allocations: 51.5 kB / 430.7 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003945/0.1114, allocations: 103.2 kB / 430.8 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004006/0.1118, allocations: 123.8 kB / 430.9 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006099/0.1124, allocations: 414.4 kB / 431.3 MB, free: 436 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002406/0.1126, allocations: 99.14 kB / 431.4 MB, free: 328 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002071/0.1128, allocations: 155.4 kB / 431.6 MB, free: 172 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2128/0.3256, allocations: 174.2 kB / 431.7 MB, free: 7.945 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001694/0.3258, allocations: 42.97 kB / 431.8 MB, free: 7.945 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.3259, allocations: 40.75 kB / 431.8 MB, free: 7.945 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.823e-05/0.326, allocations: 71.91 kB / 431.9 MB, free: 7.945 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001949/0.3262, allocations: 174.5 kB / 432.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005153/0.3267, allocations: 454.8 kB / 432.5 MB, free: 7.898 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.3267, allocations: 2.188 kB / 432.5 MB, free: 7.898 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3267, allocations: 0 / 432.5 MB, free: 7.898 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.3267, allocations: 0.9062 kB / 432.5 MB, free: 7.898 MB / 350.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.001225/0.3279, allocations: 0.6822 MB / 433.2 MB, free: 7.402 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.328, allocations: 12.25 kB / 433.2 MB, free: 7.402 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.679e-05/0.328, allocations: 57.61 kB / 433.3 MB, free: 7.363 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.466e-05/0.3281, allocations: 46.8 kB / 433.3 MB, free: 7.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004069/0.3285, allocations: 300.1 kB / 433.6 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.3285, allocations: 19.44 kB / 433.6 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.591e-05/0.3286, allocations: 22.62 kB / 433.6 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006321/0.3292, allocations: 335.6 kB / 434 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.3292, allocations: 0 / 434 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.749e-05/0.3292, allocations: 7.562 kB / 434 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.3293, allocations: 9 kB / 434 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007071/0.33, allocations: 286.6 kB / 434.3 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001654/0.3316, allocations: 1.14 MB / 435.4 MB, free: 6.527 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007807/0.3324, allocations: 240.4 kB / 435.6 MB, free: 6.504 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003031/0.3327, allocations: 101.8 kB / 435.7 MB, free: 6.496 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.3327, allocations: 2.844 kB / 435.7 MB, free: 6.496 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004316/0.3332, allocations: 181.2 kB / 435.9 MB, free: 6.422 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 2.144e-06/0.3332, allocations: 1.312 kB / 435.9 MB, free: 6.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002208/0.3354, allocations: 0.6656 MB / 436.6 MB, free: 6.258 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/0.3354, allocations: 109.6 kB / 436.7 MB, free: 6.133 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003012/0.3357, allocations: 283.6 kB / 437 MB, free: 6.027 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.3357, allocations: 31.45 kB / 437 MB, free: 5.996 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.3358, allocations: 204.2 kB / 437.2 MB, free: 5.855 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.167e-05/0.3359, allocations: 42.47 kB / 437.2 MB, free: 5.832 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.641e-05/0.336, allocations: 54.31 kB / 437.3 MB, free: 5.809 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.656e-05/0.336, allocations: 337.7 kB / 437.6 MB, free: 5.492 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003263/0.3364, allocations: 107.5 kB / 437.7 MB, free: 5.492 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000365/0.3367, allocations: 220.4 kB / 437.9 MB, free: 5.359 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006504/0.3374, allocations: 324.7 kB / 438.3 MB, free: 5.219 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.3374, allocations: 5.125 kB / 438.3 MB, free: 5.215 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001192/0.3386, allocations: 482.2 kB / 438.7 MB, free: 5.117 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.581e-05/0.3386, allocations: 36.64 kB / 438.8 MB, free: 5.086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.3386, allocations: 4.625 kB / 438.8 MB, free: 5.086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003725/0.339, allocations: 80.86 kB / 438.9 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000214/0.3392, allocations: 53.56 kB / 438.9 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002516/0.3417, allocations: 2.065 MB / 441 MB, free: 3.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003359/0.342, allocations: 53.34 kB / 441 MB, free: 3.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.337e-05/0.3421, allocations: 14.03 kB / 441 MB, free: 3.469 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.0001208/0.3422, allocations: 161.3 kB / 441.2 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.426e-05/0.3422, allocations: 23.17 kB / 441.2 MB, free: 3.312 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.671e-05/0.3423, allocations: 28.92 kB / 441.3 MB, free: 3.293 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3423, allocations: 1.25 kB / 441.3 MB, free: 3.293 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.3423, allocations: 0 / 441.3 MB, free: 3.293 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3423, allocations: 1.688 kB / 441.3 MB, free: 3.293 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002686/0.3425, allocations: 326.1 kB / 441.6 MB, free: 3.043 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3425, allocations: 3 kB / 441.6 MB, free: 3.043 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/0.3427, allocations: 25.81 kB / 441.6 MB, free: 3.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002655/0.3429, allocations: 85.16 kB / 441.7 MB, free: 3.016 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.343, allocations: 2.812 kB / 441.7 MB, free: 3.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002024/0.345, allocations: 1.978 MB / 443.7 MB, free: 1.336 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.345, allocations: 6.828 kB / 443.7 MB, free: 1.332 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.346, allocations: 368.6 kB / 444 MB, free: 1.191 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.6e-05/0.3461, allocations: 104.4 kB / 444.1 MB, free: 1.078 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.775e-05/0.3461, allocations: 6.859 kB / 444.1 MB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002556/0.3464, allocations: 38.02 kB / 444.2 MB, free: 1.066 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.276e-05/0.3465, allocations: 21.14 kB / 444.2 MB, free: 1.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.3465, allocations: 3.156 kB / 444.2 MB, free: 1.062 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002329/0.3467, allocations: 203.8 kB / 444.4 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3467, allocations: 0 / 444.4 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000541/0.3473, allocations: 75.45 kB / 444.5 MB, free: 0.9336 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.001367/0.3486, allocations: 0.9094 MB / 445.4 MB, free: 260 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001336/0.35, allocations: 498 kB / 445.9 MB, free: 12 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.35, allocations: 1.688 kB / 445.9 MB, free: 12 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005575/0.3505, allocations: 238 kB / 446.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003629/0.3509, allocations: 48.73 kB / 446.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007927/0.3588, allocations: 3.594 MB / 449.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004215/0.3592, allocations: 0.753 MB / 450.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001574/0.3594, allocations: 25.77 kB / 450.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001374/0.3595, allocations: 88.06 kB / 450.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3595, allocations: 0 / 450.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0501/0.4096, allocations: 6.914 MB / 457.5 MB, free: 11.21 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.92, allocations: 5.406 kB / 457.5 MB, free: 11.21 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.251645762939006] Failed to read output from testmodel.py, exit status != 0: ['time', 'buffer.opAmp.out.v', 'buffer.opAmp.out.i'] 12.011406830977648 12.024048278 11.694628694 Calling exit ...