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.001783/0.001783, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002039/0.002039, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.48/1.48, allocations: 230.6 MB / 258.3 MB, free: 8.023 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.00281/0.00281, allocations: 68.53 kB / 378.6 MB, free: 3.113 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2839, allocations: 53.36 MB / 431.9 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004742/0.2886, allocations: 2.913 MB / 434.9 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001632/0.2902, allocations: 0.7635 MB / 435.6 MB, free: 3.195 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001603/0.2904, allocations: 7.938 kB / 435.6 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001677/0.2906, allocations: 47.56 kB / 435.7 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001977/0.2908, allocations: 99.19 kB / 435.8 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002973/0.2911, allocations: 111.8 kB / 435.9 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004727/0.2915, allocations: 398.5 kB / 436.3 MB, free: 2.543 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000211/0.2917, allocations: 87.67 kB / 436.4 MB, free: 2.453 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000311/0.2921, allocations: 163.4 kB / 436.5 MB, free: 2.293 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000231/0.2923, allocations: 163.4 kB / 436.7 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.292e-05/0.2923, allocations: 36 kB / 436.7 MB, free: 2.098 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.812e-05/0.2924, allocations: 43.94 kB / 436.8 MB, free: 2.055 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.2925, allocations: 79.69 kB / 436.8 MB, free: 1.977 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001676/0.2927, allocations: 171.2 kB / 437 MB, free: 1.809 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004943/0.2932, allocations: 422.4 kB / 437.4 MB, free: 1.395 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.2932, allocations: 4 kB / 437.4 MB, free: 1.391 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2932, allocations: 0 / 437.4 MB, free: 1.391 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.2932, allocations: 0 / 437.4 MB, free: 1.391 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001432/0.2946, allocations: 0.5926 MB / 438 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.2946, allocations: 8.031 kB / 438 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.791e-05/0.2947, allocations: 58.72 kB / 438.1 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.913e-05/0.2948, allocations: 36.69 kB / 438.1 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004477/0.2952, allocations: 238.8 kB / 438.3 MB, free: 404 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.2953, allocations: 20.88 kB / 438.4 MB, free: 384 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.312e-05/0.2953, allocations: 24.38 kB / 438.4 MB, free: 360 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006885/0.296, allocations: 314.8 kB / 438.7 MB, free: 32 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.296, allocations: 3.938 kB / 438.7 MB, free: 28 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.943e-05/0.296, allocations: 12 kB / 438.7 MB, free: 16 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.2961, allocations: 4 kB / 438.7 MB, free: 12 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007932/0.2969, allocations: 273.8 kB / 439 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002044/0.2989, allocations: 1.134 MB / 440.1 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008703/0.2998, allocations: 238.5 kB / 440.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003/0.3001, allocations: 92.78 kB / 440.4 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.3001, allocations: 3.984 kB / 440.4 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004621/0.3006, allocations: 180.9 kB / 440.6 MB, free: 13.99 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.362e-06/0.3006, allocations: 0 / 440.6 MB, free: 13.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001936/0.3025, allocations: 0.5174 MB / 441.1 MB, free: 13.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.635e-05/0.3026, allocations: 85.11 kB / 441.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003456/0.3029, allocations: 261.9 kB / 441.5 MB, free: 13.1 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.04e-05/0.3029, allocations: 29.7 kB / 441.5 MB, free: 13.06 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/0.3031, allocations: 200 kB / 441.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.681e-05/0.3032, allocations: 43.64 kB / 441.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.105e-05/0.3033, allocations: 45.7 kB / 441.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.3034, allocations: 330.8 kB / 442.1 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003414/0.3038, allocations: 108.1 kB / 442.2 MB, free: 12.33 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004127/0.3042, allocations: 199.4 kB / 442.4 MB, free: 12.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007334/0.3049, allocations: 303.7 kB / 442.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.3049, allocations: 4 kB / 442.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001235/0.3062, allocations: 435.9 kB / 443.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.536e-05/0.3062, allocations: 37.64 kB / 443.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.3062, allocations: 4 kB / 443.2 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003491/0.3066, allocations: 68.81 kB / 443.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000255/0.3068, allocations: 59.89 kB / 443.3 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002412/0.3092, allocations: 1.529 MB / 444.8 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003318/0.3096, allocations: 59.83 kB / 444.9 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.069e-05/0.3096, allocations: 11.94 kB / 444.9 MB, free: 9.418 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.0001697/0.3098, allocations: 140.8 kB / 445 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.473e-05/0.3098, allocations: 27.86 kB / 445.1 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.147e-05/0.3099, allocations: 29.62 kB / 445.1 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.3099, allocations: 4 kB / 445.1 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.3099, allocations: 4 kB / 445.1 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3099, allocations: 0 / 445.1 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003322/0.3102, allocations: 296.4 kB / 445.4 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3102, allocations: 0 / 445.4 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001861/0.3104, allocations: 27.97 kB / 445.4 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002278/0.3106, allocations: 64.81 kB / 445.5 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.3106, allocations: 0 / 445.5 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002131/0.3128, allocations: 1.529 MB / 447 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.3128, allocations: 0 / 447 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001303/0.3141, allocations: 457.5 kB / 447.5 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.701e-05/0.3141, allocations: 27.88 kB / 447.5 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.512e-05/0.3142, allocations: 8 kB / 447.5 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002201/0.3144, allocations: 28.03 kB / 447.5 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.704e-05/0.3145, allocations: 15.97 kB / 447.5 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.3145, allocations: 4 kB / 447.5 MB, free: 6.586 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002291/0.3147, allocations: 193.2 kB / 447.7 MB, free: 6.398 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3147, allocations: 0 / 447.7 MB, free: 6.398 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003805/0.3151, allocations: 67.89 kB / 447.8 MB, free: 6.332 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.001679/0.3168, allocations: 0.9831 MB / 448.8 MB, free: 5.316 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009751/0.3177, allocations: 407.1 kB / 449.2 MB, free: 4.895 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3177, allocations: 4.062 kB / 449.2 MB, free: 4.891 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004326/0.3182, allocations: 210.5 kB / 449.4 MB, free: 4.672 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003354/0.3185, allocations: 56.55 kB / 449.4 MB, free: 4.617 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007465/0.326, allocations: 3.404 MB / 452.8 MB, free: 1.062 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004893/0.3265, allocations: 0.7518 MB / 453.6 MB, free: 292 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001797/0.3266, allocations: 30.27 kB / 453.6 MB, free: 260 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.3268, allocations: 75.41 kB / 453.7 MB, free: 184 kB / 350.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3268, allocations: 0 / 453.7 MB, free: 184 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04068/0.3675, allocations: 6.459 MB / 460.2 MB, free: 9.879 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.25, allocations: 11.31 kB / 460.2 MB, free: 9.871 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.821475315839052] Failed to read output from testmodel.py, exit status != 0: ['time', 'integrator.c.v', 'integrator.opAmp.out.v', 'integrator.opAmp.out.i'] 12.354670324828476 12.383294508 12.084888565 Calling exit ...