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.InvertingAmplifier.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.001222/0.001222, allocations: 120.2 kB / 18.5 MB, free: 4.578 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.001324/0.001324, allocations: 205 kB / 21.45 MB, free: 1.629 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.443/1.443, allocations: 230.5 MB / 254.8 MB, free: 15.11 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.InvertingAmplifier,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmplifier",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.001986/0.001986, allocations: 71.81 kB / 373.7 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1067, allocations: 53.33 MB / 427 MB, free: 4.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.004348/0.1111, allocations: 2.964 MB / 430 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001422/0.1125, allocations: 0.7635 MB / 430.8 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001591/0.1127, allocations: 11.94 kB / 430.8 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001759/0.1129, allocations: 51.5 kB / 430.8 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000201/0.1131, allocations: 99.19 kB / 430.9 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003017/0.1134, allocations: 123.8 kB / 431 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004613/0.1138, allocations: 414.4 kB / 431.5 MB, free: 412 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002217/0.114, allocations: 91.27 kB / 431.5 MB, free: 312 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002053/0.1142, allocations: 159.4 kB / 431.7 MB, free: 152 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2115/0.3257, allocations: 173.2 kB / 431.9 MB, free: 7.824 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001922/0.3259, allocations: 40.03 kB / 431.9 MB, free: 7.824 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001334/0.3261, allocations: 43.41 kB / 431.9 MB, free: 7.824 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.24e-05/0.3262, allocations: 78.2 kB / 432 MB, free: 7.824 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002329/0.3264, allocations: 174.9 kB / 432.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005744/0.327, allocations: 453 kB / 432.6 MB, free: 7.773 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.327, allocations: 1.062 kB / 432.6 MB, free: 7.773 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.327, allocations: 0 / 432.6 MB, free: 7.773 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.546e-05/0.327, allocations: 2.906 kB / 432.6 MB, free: 7.773 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.001279/0.3283, allocations: 0.6801 MB / 433.3 MB, free: 7.277 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.3283, allocations: 9.188 kB / 433.3 MB, free: 7.277 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.122e-05/0.3284, allocations: 61.86 kB / 433.4 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.78e-05/0.3285, allocations: 38.3 kB / 433.4 MB, free: 7.219 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003974/0.3289, allocations: 308.1 kB / 433.7 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/0.3289, allocations: 19.75 kB / 433.7 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.689e-05/0.3289, allocations: 24.25 kB / 433.8 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006698/0.3296, allocations: 329.8 kB / 434.1 MB, free: 6.934 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.3296, allocations: 3.844 kB / 434.1 MB, free: 6.934 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.662e-05/0.3296, allocations: 6.625 kB / 434.1 MB, free: 6.934 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.3296, allocations: 8.781 kB / 434.1 MB, free: 6.934 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007587/0.3304, allocations: 287.3 kB / 434.4 MB, free: 6.934 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001648/0.332, allocations: 1.145 MB / 435.5 MB, free: 6.406 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008765/0.3329, allocations: 240 kB / 435.8 MB, free: 6.383 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003447/0.3333, allocations: 100.4 kB / 435.9 MB, free: 6.375 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.3333, allocations: 5.078 kB / 435.9 MB, free: 6.375 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005053/0.3338, allocations: 182.6 kB / 436.1 MB, free: 6.305 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.382e-06/0.3338, allocations: 0 / 436.1 MB, free: 6.305 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002449/0.3362, allocations: 0.6636 MB / 436.7 MB, free: 6.141 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.973e-05/0.3363, allocations: 109.5 kB / 436.8 MB, free: 6.016 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003495/0.3367, allocations: 283.7 kB / 437.1 MB, free: 5.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.3367, allocations: 32.78 kB / 437.1 MB, free: 5.875 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.3368, allocations: 202.3 kB / 437.3 MB, free: 5.738 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.147e-05/0.3368, allocations: 45.19 kB / 437.4 MB, free: 5.711 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.337, allocations: 46.03 kB / 437.4 MB, free: 5.691 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.708e-05/0.337, allocations: 334.1 kB / 437.7 MB, free: 5.379 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003818/0.3374, allocations: 108.6 kB / 437.9 MB, free: 5.375 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004034/0.3378, allocations: 203.5 kB / 438.1 MB, free: 5.262 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007279/0.3386, allocations: 314.9 kB / 438.4 MB, free: 5.125 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.3386, allocations: 3.719 kB / 438.4 MB, free: 5.125 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001303/0.3399, allocations: 475.7 kB / 438.8 MB, free: 5.023 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.697e-05/0.3399, allocations: 37.81 kB / 438.9 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.3399, allocations: 2.312 kB / 438.9 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004319/0.3404, allocations: 83.75 kB / 438.9 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002361/0.3406, allocations: 49.94 kB / 439 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002418/0.343, allocations: 1.991 MB / 441 MB, free: 3.461 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003658/0.3434, allocations: 61.33 kB / 441 MB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.713e-05/0.3434, allocations: 14.84 kB / 441.1 MB, free: 3.441 MB / 350.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.0001566/0.3436, allocations: 151 kB / 441.2 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.09e-05/0.3436, allocations: 22.8 kB / 441.2 MB, free: 3.312 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.353e-05/0.3437, allocations: 26.94 kB / 441.3 MB, free: 3.297 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.3437, allocations: 2.219 kB / 441.3 MB, free: 3.297 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.766e-06/0.3437, allocations: 4 kB / 441.3 MB, free: 3.293 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.3437, allocations: 1.406 kB / 441.3 MB, free: 3.293 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003187/0.344, allocations: 332.2 kB / 441.6 MB, free: 3.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.344, allocations: 0 / 441.6 MB, free: 3.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001423/0.3441, allocations: 23.36 kB / 441.6 MB, free: 3.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002838/0.3444, allocations: 84.39 kB / 441.7 MB, free: 3.012 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.3444, allocations: 6.734 kB / 441.7 MB, free: 3.008 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001997/0.3464, allocations: 1.8 MB / 443.5 MB, free: 1.492 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3464, allocations: 0 / 443.5 MB, free: 1.492 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/0.3475, allocations: 370.6 kB / 443.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.318e-05/0.3475, allocations: 108.7 kB / 444 MB, free: 1.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.605e-05/0.3476, allocations: 5.969 kB / 444 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002465/0.3478, allocations: 32.09 kB / 444 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.39e-05/0.3479, allocations: 25.75 kB / 444 MB, free: 1.219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.3479, allocations: 4.094 kB / 444 MB, free: 1.219 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001942/0.3481, allocations: 207 kB / 444.2 MB, free: 1.098 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3481, allocations: 0 / 444.2 MB, free: 1.098 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004214/0.3485, allocations: 75.3 kB / 444.3 MB, free: 1.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.001386/0.3499, allocations: 0.9103 MB / 445.2 MB, free: 416 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009945/0.3509, allocations: 429.4 kB / 445.6 MB, free: 168 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3509, allocations: 0 / 445.6 MB, free: 168 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004584/0.3514, allocations: 234.8 kB / 445.9 MB, free: 20 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003454/0.3517, allocations: 50.28 kB / 445.9 MB, free: 4 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005728/0.3575, allocations: 3.104 MB / 449 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004061/0.3579, allocations: 0.7552 MB / 449.8 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001314/0.358, allocations: 28.91 kB / 449.8 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.3581, allocations: 84.02 kB / 449.9 MB, free: 13.29 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3581, allocations: 4 kB / 449.9 MB, free: 13.29 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03584/0.394, allocations: 6.942 MB / 456.8 MB, free: 11.54 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.71, allocations: 8.125 kB / 456.8 MB, free: 11.54 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmplifier.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.144661305937916] Failed to read output from testmodel.py, exit status != 0: ['time', 'gain.opAmp.out.v', 'gain.opAmp.out.i'] 11.798865479882807 11.812303344 11.482518428 Calling exit ...