Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.00161/0.00161, allocations: 108.2 kB / 21.18 MB, free: 0.6992 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.001531/0.001531, allocations: 216.7 kB / 24.49 MB, free: 4.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.449/1.449, allocations: 207.6 MB / 235.3 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001763/0.001763, allocations: 55.91 kB / 347.2 MB, free: 10.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2751, allocations: 49.16 MB / 396.4 MB, free: 8.988 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.003632/0.2787, allocations: 2.606 MB / 399 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00125/0.2799, allocations: 0.7115 MB / 399.7 MB, free: 6.668 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001602/0.2801, allocations: 4.688 kB / 399.7 MB, free: 6.668 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001634/0.2803, allocations: 45.88 kB / 399.7 MB, free: 6.641 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002572/0.2805, allocations: 87.14 kB / 399.8 MB, free: 6.578 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002/0.2807, allocations: 88.66 kB / 399.9 MB, free: 6.527 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003241/0.281, allocations: 317.2 kB / 400.2 MB, free: 6.367 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002041/0.2812, allocations: 70.28 kB / 400.3 MB, free: 6.324 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001498/0.2814, allocations: 113.5 kB / 400.4 MB, free: 6.273 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001727/0.2816, allocations: 129.4 kB / 400.5 MB, free: 6.207 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.066e-05/0.2816, allocations: 25.38 kB / 400.6 MB, free: 6.207 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.975e-05/0.2817, allocations: 24.16 kB / 400.6 MB, free: 6.207 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.437e-05/0.2817, allocations: 57.55 kB / 400.6 MB, free: 6.168 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.2819, allocations: 132 kB / 400.8 MB, free: 6.09 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003926/0.2823, allocations: 293.7 kB / 401.1 MB, free: 5.977 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.2823, allocations: 5.188 kB / 401.1 MB, free: 5.973 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2823, allocations: 0 / 401.1 MB, free: 5.973 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.2823, allocations: 0 / 401.1 MB, free: 5.973 MB / 318.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.0008899/0.2832, allocations: 0.4908 MB / 401.5 MB, free: 5.594 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.2832, allocations: 15.14 kB / 401.6 MB, free: 5.59 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.621e-05/0.2833, allocations: 54.75 kB / 401.6 MB, free: 5.539 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.867e-05/0.2833, allocations: 27.25 kB / 401.6 MB, free: 5.527 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003142/0.2836, allocations: 201.6 kB / 401.8 MB, free: 5.348 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.2837, allocations: 17.62 kB / 401.9 MB, free: 5.336 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.128e-05/0.2837, allocations: 23.12 kB / 401.9 MB, free: 5.328 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004129/0.2841, allocations: 225.5 kB / 402.1 MB, free: 5.223 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.2841, allocations: 5.031 kB / 402.1 MB, free: 5.219 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.366e-05/0.2841, allocations: 10.91 kB / 402.1 MB, free: 5.211 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.2842, allocations: 5.594 kB / 402.1 MB, free: 5.211 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004025/0.2846, allocations: 188.5 kB / 402.3 MB, free: 5.156 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00129/0.2858, allocations: 0.8693 MB / 403.2 MB, free: 4.555 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005707/0.2864, allocations: 206.4 kB / 403.4 MB, free: 4.473 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003017/0.2867, allocations: 114.4 kB / 403.5 MB, free: 4.438 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.2867, allocations: 2.156 kB / 403.5 MB, free: 4.438 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.2868, allocations: 41.7 kB / 403.5 MB, free: 4.391 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 1.202e-06/0.2868, allocations: 0 / 403.5 MB, free: 4.391 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.001741/0.2885, allocations: 493.1 kB / 404 MB, free: 4.27 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.057e-05/0.2885, allocations: 58.28 kB / 404.1 MB, free: 4.203 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.2887, allocations: 220.8 kB / 404.3 MB, free: 4.066 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.2887, allocations: 30.98 kB / 404.3 MB, free: 4.031 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.535e-05/0.2888, allocations: 173.5 kB / 404.5 MB, free: 3.879 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.054e-05/0.2888, allocations: 50.62 kB / 404.5 MB, free: 3.84 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-05/0.2889, allocations: 43.45 kB / 404.6 MB, free: 3.809 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.109e-05/0.2889, allocations: 330 kB / 404.9 MB, free: 3.488 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.2891, allocations: 69.94 kB / 405 MB, free: 3.461 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001778/0.2893, allocations: 116.5 kB / 405.1 MB, free: 3.379 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003359/0.2896, allocations: 186.8 kB / 405.3 MB, free: 3.262 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2896, allocations: 1 kB / 405.3 MB, free: 3.262 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008066/0.2904, allocations: 346.2 kB / 405.6 MB, free: 3.129 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.2904, allocations: 5.906 kB / 405.6 MB, free: 3.129 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.2904, allocations: 1.125 kB / 405.6 MB, free: 3.129 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003576/0.2908, allocations: 82.72 kB / 405.7 MB, free: 3.105 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001544/0.291, allocations: 39.83 kB / 405.7 MB, free: 3.102 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002491/0.2935, allocations: 1.909 MB / 407.6 MB, free: 1.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/0.2936, allocations: 30.23 kB / 407.7 MB, free: 1.555 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.2937, allocations: 10.62 kB / 407.7 MB, free: 1.551 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000137/0.2938, allocations: 139.6 kB / 407.8 MB, free: 1.445 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.862e-05/0.2939, allocations: 100 kB / 407.9 MB, free: 1.363 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001695/0.2941, allocations: 152.2 kB / 408.1 MB, free: 1.25 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.172e-06/0.2941, allocations: 0 / 408.1 MB, free: 1.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003152/0.2944, allocations: 220.7 kB / 408.3 MB, free: 1.133 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.828e-06/0.2944, allocations: 6.219 kB / 408.3 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.2944, allocations: 2.141 kB / 408.3 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.768e-05/0.2945, allocations: 29.58 kB / 408.3 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.2946, allocations: 48.3 kB / 408.4 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007177/0.2953, allocations: 1.307 MB / 409.7 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001291/0.2955, allocations: 17.39 kB / 409.7 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.2955, allocations: 9.5 kB / 409.7 MB, free: 15.8 MB / 334.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.0001371/0.2956, allocations: 189.1 kB / 409.9 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.977e-05/0.2957, allocations: 22.09 kB / 409.9 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.76e-05/0.2957, allocations: 29.02 kB / 409.9 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.2957, allocations: 2.031 kB / 409.9 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.2957, allocations: 4.062 kB / 409.9 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.2957, allocations: 2.031 kB / 409.9 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001151/0.2969, allocations: 0.5919 MB / 410.5 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.2969, allocations: 0 / 410.5 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.297, allocations: 25.84 kB / 410.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002746/0.2973, allocations: 78.88 kB / 410.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.2973, allocations: 1.531 kB / 410.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002513/0.2998, allocations: 1.813 MB / 412.4 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.2998, allocations: 3.984 kB / 412.4 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000983/0.3008, allocations: 447.2 kB / 412.9 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.873e-05/0.3008, allocations: 23.06 kB / 412.9 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.619e-05/0.3009, allocations: 1.312 kB / 412.9 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002124/0.3011, allocations: 22.23 kB / 412.9 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.442e-05/0.3011, allocations: 12.95 kB / 412.9 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.3011, allocations: 3.188 kB / 412.9 MB, free: 13.38 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002708/0.3014, allocations: 161 kB / 413.1 MB, free: 13.27 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3014, allocations: 1.375 kB / 413.1 MB, free: 13.27 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007415/0.3021, allocations: 121 kB / 413.2 MB, free: 13.24 MB / 334.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.001463/0.3036, allocations: 0.9589 MB / 414.2 MB, free: 12.48 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001276/0.3049, allocations: 0.5275 MB / 414.7 MB, free: 12.18 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.3049, allocations: 6.156 kB / 414.7 MB, free: 12.17 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003479/0.3052, allocations: 198.5 kB / 414.9 MB, free: 12.03 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003902/0.3056, allocations: 46.52 kB / 415 MB, free: 12.01 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004392/0.31, allocations: 2.645 MB / 417.6 MB, free: 10.11 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003968/0.3104, allocations: 0.7483 MB / 418.3 MB, free: 9.375 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001142/0.3105, allocations: 25.28 kB / 418.4 MB, free: 9.363 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.3106, allocations: 65.33 kB / 418.4 MB, free: 9.309 MB / 334.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3106, allocations: 0 / 418.4 MB, free: 9.309 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03915/0.3498, allocations: 5.644 MB / 424.1 MB, free: 6.297 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.9/13.25, allocations: 17 kB / 424.1 MB, free: 6.281 MB / 334.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.739001698995708] Failed to read output from testmodel.py, exit status != 0: ['time', 'c.v', 'opAmp.out.v', 'opAmp.out.i'] 13.37616048700147 13.39965146 13.112570585 Calling exit ...