Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 211.6 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.372/1.372, allocations: 230.6 MB / 257.5 MB, free: 7.793 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002227/0.002227, allocations: 51.91 kB / 377.7 MB, free: 2.945 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2926, allocations: 53.37 MB / 431.1 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.003714/0.2963, allocations: 2.441 MB / 433.6 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.2975, allocations: 0.6661 MB / 434.2 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.2976, allocations: 11.94 kB / 434.2 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000141/0.2978, allocations: 43.56 kB / 434.3 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002299/0.298, allocations: 79.33 kB / 434.4 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001803/0.2982, allocations: 91.81 kB / 434.4 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003258/0.2985, allocations: 310.6 kB / 434.7 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001844/0.2987, allocations: 72.92 kB / 434.8 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.2988, allocations: 119.6 kB / 434.9 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001684/0.299, allocations: 131.5 kB / 435.1 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.484e-05/0.2991, allocations: 24 kB / 435.1 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.583e-05/0.2991, allocations: 24 kB / 435.1 MB, free: 2.637 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.072e-05/0.2992, allocations: 55.77 kB / 435.2 MB, free: 2.582 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.2993, allocations: 111.5 kB / 435.3 MB, free: 2.473 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003273/0.2996, allocations: 284.7 kB / 435.6 MB, free: 2.195 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2996, allocations: 0 / 435.6 MB, free: 2.195 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2996, allocations: 0 / 435.6 MB, free: 2.195 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.2996, allocations: 0 / 435.6 MB, free: 2.195 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0009409/0.3006, allocations: 0.4976 MB / 436 MB, free: 1.668 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.3006, allocations: 12.03 kB / 436.1 MB, free: 1.656 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.058e-05/0.3007, allocations: 54.73 kB / 436.1 MB, free: 1.594 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.011e-05/0.3007, allocations: 40.62 kB / 436.2 MB, free: 1.555 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00035/0.3011, allocations: 202.8 kB / 436.4 MB, free: 1.332 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/0.3011, allocations: 16.88 kB / 436.4 MB, free: 1.316 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.977e-05/0.3011, allocations: 20.38 kB / 436.4 MB, free: 1.297 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004931/0.3016, allocations: 305.3 kB / 436.7 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.3017, allocations: 0 / 436.7 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.762e-05/0.3017, allocations: 12 kB / 436.7 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.096e-06/0.3017, allocations: 4 kB / 436.7 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004237/0.3021, allocations: 193.8 kB / 436.9 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001458/0.3036, allocations: 0.8074 MB / 437.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006152/0.3042, allocations: 210.6 kB / 437.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003063/0.3045, allocations: 108.8 kB / 438 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.3045, allocations: 4 kB / 438 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.3045, allocations: 30.56 kB / 438 MB, free: 15.53 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 3.276e-06/0.3045, allocations: 7.938 kB / 438.1 MB, free: 15.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.001765/0.3063, allocations: 493.5 kB / 438.5 MB, free: 15.03 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.3064, allocations: 55.34 kB / 438.6 MB, free: 14.96 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002346/0.3066, allocations: 231.1 kB / 438.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.3066, allocations: 29.7 kB / 438.8 MB, free: 14.69 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.3067, allocations: 168.2 kB / 439 MB, free: 14.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.66e-05/0.3068, allocations: 59.52 kB / 439.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.654e-05/0.3068, allocations: 41.67 kB / 439.1 MB, free: 14.42 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.307, allocations: 334.8 kB / 439.4 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001783/0.3072, allocations: 68.83 kB / 439.5 MB, free: 14.01 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002007/0.3074, allocations: 113.9 kB / 439.6 MB, free: 13.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000363/0.3077, allocations: 188.7 kB / 439.8 MB, free: 13.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3077, allocations: 0 / 439.8 MB, free: 13.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008464/0.3086, allocations: 334.2 kB / 440.1 MB, free: 13.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.3086, allocations: 8.031 kB / 440.1 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.3086, allocations: 7.938 kB / 440.1 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003452/0.3089, allocations: 76.8 kB / 440.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.3091, allocations: 43.91 kB / 440.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00285/0.3119, allocations: 1.906 MB / 442.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001608/0.3121, allocations: 31.77 kB / 442.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.3121, allocations: 8 kB / 442.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001502/0.3123, allocations: 140.1 kB / 442.3 MB, free: 11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001218/0.3124, allocations: 97.92 kB / 442.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002065/0.3126, allocations: 156.7 kB / 442.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.212e-06/0.3126, allocations: 0 / 442.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003542/0.313, allocations: 214.1 kB / 442.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.235e-06/0.313, allocations: 4 kB / 442.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.264e-06/0.313, allocations: 8.188 kB / 442.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.827e-05/0.313, allocations: 24.84 kB / 442.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.3132, allocations: 47.91 kB / 442.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001039/0.3142, allocations: 1.303 MB / 444.2 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.3144, allocations: 19.84 kB / 444.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.3144, allocations: 12 kB / 444.2 MB, free: 8.953 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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.0001276/0.3145, allocations: 188.3 kB / 444.4 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.449e-05/0.3145, allocations: 15.91 kB / 444.4 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.762e-05/0.3146, allocations: 29.39 kB / 444.4 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.3146, allocations: 4 kB / 444.4 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.3146, allocations: 0 / 444.4 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3146, allocations: 0 / 444.4 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001143/0.3157, allocations: 0.5686 MB / 445 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3157, allocations: 0 / 445 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/0.3159, allocations: 31.98 kB / 445 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000258/0.3161, allocations: 76.73 kB / 445.1 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.3161, allocations: 8 kB / 445.1 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00238/0.3185, allocations: 1.802 MB / 446.9 MB, free: 6.066 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3185, allocations: 0 / 446.9 MB, free: 6.066 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009068/0.3194, allocations: 440.5 kB / 447.4 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.239e-05/0.3195, allocations: 27.77 kB / 447.4 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.69e-05/0.3195, allocations: 7.984 kB / 447.4 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/0.3197, allocations: 20.05 kB / 447.4 MB, free: 5.562 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.608e-05/0.3197, allocations: 11.98 kB / 447.4 MB, free: 5.551 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.3197, allocations: 7.938 kB / 447.4 MB, free: 5.543 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001547/0.3199, allocations: 163.2 kB / 447.6 MB, free: 5.383 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3199, allocations: 3.938 kB / 447.6 MB, free: 5.379 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005263/0.3204, allocations: 115.8 kB / 447.7 MB, free: 5.266 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001227/0.3216, allocations: 0.9638 MB / 448.7 MB, free: 4.273 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001119/0.3227, allocations: 0.5349 MB / 449.2 MB, free: 3.715 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.3227, allocations: 0 / 449.2 MB, free: 3.715 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003032/0.3231, allocations: 195.3 kB / 449.4 MB, free: 3.512 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/0.3234, allocations: 36.81 kB / 449.4 MB, free: 3.477 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003999/0.3274, allocations: 2.643 MB / 452.1 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001262/0.3275, allocations: 138.2 kB / 452.2 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.598e-05/0.3276, allocations: 21.92 kB / 452.2 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.85e-05/0.3277, allocations: 67.42 kB / 452.3 MB, free: 480 kB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3277, allocations: 0 / 452.3 MB, free: 480 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04891/0.3766, allocations: 6.143 MB / 458.4 MB, free: 10.51 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/12.77, allocations: 3.859 kB / 458.4 MB, free: 10.5 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_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_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.229743759002304] Failed to read output from testmodel.py, exit status != 0: ['time', 'c.v', 'opAmp.out.v', 'opAmp.out.i'] 12.889889355981722 12.912964526 12.608910081 Calling exit ...