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.Integrator.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.001744/0.001744, allocations: 117.9 kB / 18.5 MB, free: 4.52 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.002068/0.002068, allocations: 214.5 kB / 21.46 MB, free: 1.566 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.436/1.436, allocations: 230.5 MB / 254.8 MB, free: 15.09 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.Integrator,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",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.0021/0.0021, allocations: 71.84 kB / 373.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1134, allocations: 53.33 MB / 427 MB, free: 4.758 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004448/0.1179, allocations: 2.882 MB / 429.9 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001351/0.1192, allocations: 0.7596 MB / 430.7 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001437/0.1194, allocations: 7.938 kB / 430.7 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001617/0.1195, allocations: 47.56 kB / 430.7 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002006/0.1197, allocations: 103.2 kB / 430.8 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003149/0.1201, allocations: 115.8 kB / 431 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004697/0.1205, allocations: 390.5 kB / 431.3 MB, free: 452 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002093/0.1207, allocations: 87.27 kB / 431.4 MB, free: 356 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003073/0.121, allocations: 163.4 kB / 431.6 MB, free: 192 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000206/0.1213, allocations: 167.3 kB / 431.7 MB, free: 24 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.2055/0.3267, allocations: 43.39 kB / 431.8 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001907/0.3269, allocations: 36.53 kB / 431.8 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.71e-05/0.327, allocations: 71.94 kB / 431.9 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002449/0.3273, allocations: 166.5 kB / 432.1 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007116/0.328, allocations: 430.7 kB / 432.5 MB, free: 7.449 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.328, allocations: 0.75 kB / 432.5 MB, free: 7.449 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.328, allocations: 0 / 432.5 MB, free: 7.449 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.895e-05/0.328, allocations: 1.375 kB / 432.5 MB, free: 7.449 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001389/0.3294, allocations: 0.6631 MB / 433.1 MB, free: 6.965 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.3294, allocations: 9.844 kB / 433.2 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.401e-05/0.3295, allocations: 61.75 kB / 433.2 MB, free: 6.926 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.937e-05/0.3296, allocations: 36.52 kB / 433.2 MB, free: 6.906 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004079/0.33, allocations: 287.7 kB / 433.5 MB, free: 6.684 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/0.33, allocations: 19.94 kB / 433.5 MB, free: 6.684 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.217e-05/0.3301, allocations: 21.59 kB / 433.6 MB, free: 6.684 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006552/0.3307, allocations: 323.8 kB / 433.9 MB, free: 6.629 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.3307, allocations: 0 / 433.9 MB, free: 6.629 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.927e-05/0.3308, allocations: 8.562 kB / 433.9 MB, free: 6.629 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.3308, allocations: 6.031 kB / 433.9 MB, free: 6.629 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000721/0.3315, allocations: 278.9 kB / 434.2 MB, free: 6.629 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00179/0.3333, allocations: 1.17 MB / 435.3 MB, free: 6.055 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008979/0.3342, allocations: 237.7 kB / 435.6 MB, free: 6.031 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003323/0.3345, allocations: 103.9 kB / 435.7 MB, free: 6.023 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.3345, allocations: 5.469 kB / 435.7 MB, free: 6.023 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004558/0.335, allocations: 167.6 kB / 435.8 MB, free: 5.957 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.443e-06/0.335, allocations: 0.9688 kB / 435.8 MB, free: 5.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0022/0.3372, allocations: 0.5943 MB / 436.4 MB, free: 5.797 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.145e-05/0.3372, allocations: 87.27 kB / 436.5 MB, free: 5.699 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003658/0.3376, allocations: 260.4 kB / 436.8 MB, free: 5.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.3376, allocations: 27.67 kB / 436.8 MB, free: 5.559 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.3378, allocations: 203.1 kB / 437 MB, free: 5.418 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.483e-05/0.3378, allocations: 43.88 kB / 437 MB, free: 5.395 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.3379, allocations: 50.73 kB / 437.1 MB, free: 5.375 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.907e-05/0.338, allocations: 329.8 kB / 437.4 MB, free: 5.062 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003852/0.3384, allocations: 101.9 kB / 437.5 MB, free: 5.059 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004211/0.3388, allocations: 192.6 kB / 437.7 MB, free: 4.953 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007296/0.3396, allocations: 300.7 kB / 438 MB, free: 4.816 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/0.3396, allocations: 4.719 kB / 438 MB, free: 4.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001381/0.3409, allocations: 444.1 kB / 438.4 MB, free: 4.723 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.944e-05/0.341, allocations: 38.58 kB / 438.5 MB, free: 4.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.341, allocations: 2.531 kB / 438.5 MB, free: 4.688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003645/0.3414, allocations: 66.02 kB / 438.5 MB, free: 4.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002664/0.3416, allocations: 58.08 kB / 438.6 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002082/0.3437, allocations: 1.632 MB / 440.2 MB, free: 3.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003883/0.3441, allocations: 48.53 kB / 440.3 MB, free: 3.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.783e-05/0.3441, allocations: 9.281 kB / 440.3 MB, free: 3.309 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 (25): * Single equations (assignments): 23 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001875/0.3443, allocations: 157.3 kB / 440.4 MB, free: 3.184 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.251e-05/0.3444, allocations: 25.52 kB / 440.5 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.148e-05/0.3444, allocations: 29.17 kB / 440.5 MB, free: 3.164 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-06/0.3444, allocations: 5.625 kB / 440.5 MB, free: 3.164 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3444, allocations: 0 / 440.5 MB, free: 3.164 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.3444, allocations: 3.203 kB / 440.5 MB, free: 3.164 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003565/0.3448, allocations: 307.7 kB / 440.8 MB, free: 2.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.3448, allocations: 0 / 440.8 MB, free: 2.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002216/0.345, allocations: 39.8 kB / 440.8 MB, free: 2.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000245/0.3453, allocations: 57.25 kB / 440.9 MB, free: 2.961 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.054e-05/0.3453, allocations: 5.391 kB / 440.9 MB, free: 2.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00176/0.347, allocations: 1.634 MB / 442.5 MB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.347, allocations: 0 / 442.5 MB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001371/0.3484, allocations: 456.8 kB / 443 MB, free: 1.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.461e-05/0.3485, allocations: 100 kB / 443.1 MB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.5e-05/0.3485, allocations: 6.281 kB / 443.1 MB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002298/0.3487, allocations: 30.41 kB / 443.1 MB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.155e-05/0.3488, allocations: 15.38 kB / 443.1 MB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.3489, allocations: 4.281 kB / 443.1 MB, free: 1.391 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001797/0.349, allocations: 195.4 kB / 443.3 MB, free: 1.309 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.349, allocations: 0 / 443.3 MB, free: 1.309 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003689/0.3494, allocations: 68.05 kB / 443.4 MB, free: 1.301 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.c.v) * 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 (11): * Single equations (assignments): 8 * 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001587/0.351, allocations: 0.9836 MB / 444.4 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001058/0.352, allocations: 408.1 kB / 444.8 MB, free: 0.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.352, allocations: 0.5938 kB / 444.8 MB, free: 0.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004308/0.3525, allocations: 219.2 kB / 445 MB, free: 396 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.3528, allocations: 46.95 kB / 445 MB, free: 388 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007964/0.3608, allocations: 3.412 MB / 448.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004033/0.3612, allocations: 0.7519 MB / 449.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001414/0.3613, allocations: 25.33 kB / 449.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/0.3615, allocations: 83.08 kB / 449.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3615, allocations: 0 / 449.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03537/0.3968, allocations: 6.345 MB / 455.7 MB, free: 12.21 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.79, allocations: 4.5 kB / 455.7 MB, free: 12.21 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_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_Integrator.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.287031158804893] Failed to read output from testmodel.py, exit status != 0: ['time', 'integrator.c.v', 'integrator.opAmp.out.v', 'integrator.opAmp.out.i'] 11.882039338815957 11.896442624 11.565708018 Calling exit ...