Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 101.5 kB / 21.21 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 190.7 kB / 24.49 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 225.7 MB / 253.3 MB, free: 12.82 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 43.92 kB / 371.2 MB, free: 9.648 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2737, allocations: 52.19 MB / 423.4 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.003758/0.2775, allocations: 2.428 MB / 425.8 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.2785, allocations: 0.631 MB / 426.5 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.2786, allocations: 11.94 kB / 426.5 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001427/0.2788, allocations: 43.58 kB / 426.5 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002455/0.279, allocations: 79.31 kB / 426.6 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001799/0.2792, allocations: 91.81 kB / 426.7 MB, free: 11.08 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003409/0.2796, allocations: 302.7 kB / 427 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001901/0.2797, allocations: 73.11 kB / 427 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.2799, allocations: 123.5 kB / 427.2 MB, free: 10.58 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001845/0.2801, allocations: 127.5 kB / 427.3 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.292e-05/0.2801, allocations: 24 kB / 427.3 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.828e-05/0.2802, allocations: 24 kB / 427.3 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.848e-05/0.2802, allocations: 59.77 kB / 427.4 MB, free: 10.35 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001296/0.2803, allocations: 111.5 kB / 427.5 MB, free: 10.24 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003299/0.2807, allocations: 285.1 kB / 427.8 MB, free: 9.965 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2807, allocations: 0 / 427.8 MB, free: 9.965 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2807, allocations: 0 / 427.8 MB, free: 9.965 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.2807, allocations: 0 / 427.8 MB, free: 9.965 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.0009199/0.2816, allocations: 0.4937 MB / 428.3 MB, free: 9.441 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.2816, allocations: 8.031 kB / 428.3 MB, free: 9.434 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.109e-05/0.2817, allocations: 8.688 kB / 428.3 MB, free: 9.422 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.78e-05/0.2817, allocations: 58.72 kB / 428.3 MB, free: 9.355 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.471e-05/0.2818, allocations: 32.75 kB / 428.4 MB, free: 9.324 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003135/0.2821, allocations: 198.1 kB / 428.6 MB, free: 9.105 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.2821, allocations: 16.86 kB / 428.6 MB, free: 9.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.405e-05/0.2822, allocations: 24.38 kB / 428.6 MB, free: 9.066 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004958/0.2827, allocations: 312.9 kB / 428.9 MB, free: 8.738 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.2827, allocations: 0 / 428.9 MB, free: 8.738 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.392e-05/0.2827, allocations: 8 kB / 428.9 MB, free: 8.73 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.2827, allocations: 8 kB / 428.9 MB, free: 8.723 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004318/0.2831, allocations: 193.9 kB / 429.1 MB, free: 8.531 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00147/0.2846, allocations: 0.8112 MB / 429.9 MB, free: 7.652 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000628/0.2852, allocations: 206.6 kB / 430.1 MB, free: 7.441 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003127/0.2855, allocations: 112.8 kB / 430.2 MB, free: 7.328 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.2856, allocations: 0 / 430.2 MB, free: 7.328 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/0.2856, allocations: 34.56 kB / 430.3 MB, free: 7.285 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.012e-06/0.2856, allocations: 4 kB / 430.3 MB, free: 7.281 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.001812/0.2874, allocations: 486 kB / 430.8 MB, free: 6.797 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.2875, allocations: 59.34 kB / 430.8 MB, free: 6.727 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002369/0.2877, allocations: 219.2 kB / 431 MB, free: 6.5 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.2877, allocations: 29.7 kB / 431.1 MB, free: 6.465 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.2878, allocations: 176.2 kB / 431.2 MB, free: 6.289 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.3e-05/0.2879, allocations: 47.59 kB / 431.3 MB, free: 6.242 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.721e-05/0.288, allocations: 49.66 kB / 431.3 MB, free: 6.188 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.2881, allocations: 338.8 kB / 431.7 MB, free: 5.848 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001759/0.2883, allocations: 64.83 kB / 431.7 MB, free: 5.781 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/0.2885, allocations: 114 kB / 431.8 MB, free: 5.648 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000358/0.2889, allocations: 184.7 kB / 432 MB, free: 5.449 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.2889, allocations: 0 / 432 MB, free: 5.449 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008521/0.2897, allocations: 338.2 kB / 432.3 MB, free: 5.109 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.2897, allocations: 8.031 kB / 432.3 MB, free: 5.102 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.2898, allocations: 0 / 432.3 MB, free: 5.102 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000374/0.2901, allocations: 84.73 kB / 432.4 MB, free: 5.016 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001718/0.2903, allocations: 35.98 kB / 432.5 MB, free: 4.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003164/0.2935, allocations: 1.906 MB / 434.4 MB, free: 2.953 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000238/0.2937, allocations: 35.73 kB / 434.4 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.467e-05/0.2937, allocations: 12 kB / 434.4 MB, free: 2.906 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002475/0.294, allocations: 140.1 kB / 434.6 MB, free: 2.766 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001529/0.2941, allocations: 97.92 kB / 434.7 MB, free: 2.648 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002256/0.2943, allocations: 148.1 kB / 434.8 MB, free: 2.484 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.697e-06/0.2944, allocations: 7.938 kB / 434.8 MB, free: 2.477 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004083/0.2948, allocations: 225.5 kB / 435 MB, free: 2.25 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.2948, allocations: 4.188 kB / 435 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.2948, allocations: 8 kB / 435 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001083/0.2949, allocations: 20.84 kB / 435.1 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.2951, allocations: 52.03 kB / 435.1 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00117/0.2962, allocations: 1.3 MB / 436.4 MB, free: 0.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.2964, allocations: 15.89 kB / 436.4 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.2964, allocations: 4 kB / 436.4 MB, free: 0.7305 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.0001618/0.2965, allocations: 200.2 kB / 436.6 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.602e-05/0.2966, allocations: 19.91 kB / 436.6 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.247e-05/0.2966, allocations: 25.41 kB / 436.7 MB, free: 496 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.2966, allocations: 0 / 436.7 MB, free: 496 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.2966, allocations: 4 kB / 436.7 MB, free: 492 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.2967, allocations: 3.984 kB / 436.7 MB, free: 488 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.2978, allocations: 0.5683 MB / 437.2 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2978, allocations: 0 / 437.2 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/0.2979, allocations: 27.98 kB / 437.3 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000275/0.2982, allocations: 76.78 kB / 437.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.2982, allocations: 0 / 437.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002549/0.3008, allocations: 1.816 MB / 439.2 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3008, allocations: 0 / 439.2 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009271/0.3017, allocations: 436.5 kB / 439.6 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.154e-05/0.3017, allocations: 19.83 kB / 439.6 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.999e-05/0.3018, allocations: 11.94 kB / 439.6 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001885/0.3019, allocations: 20.05 kB / 439.6 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.023e-05/0.302, allocations: 15.97 kB / 439.7 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.302, allocations: 4 kB / 439.7 MB, free: 13.31 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001668/0.3022, allocations: 164.6 kB / 439.8 MB, free: 13.15 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3022, allocations: 0 / 439.8 MB, free: 13.15 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005687/0.3027, allocations: 111.8 kB / 439.9 MB, free: 13.04 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.001319/0.304, allocations: 0.9818 MB / 440.9 MB, free: 12.03 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001208/0.3052, allocations: 0.5167 MB / 441.4 MB, free: 11.49 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.3053, allocations: 0 / 441.4 MB, free: 11.49 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003172/0.3056, allocations: 203.2 kB / 441.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.306, allocations: 36.59 kB / 441.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004282/0.3102, allocations: 2.648 MB / 444.3 MB, free: 8.473 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001795/0.3104, allocations: 146.1 kB / 444.5 MB, free: 8.309 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001148/0.3105, allocations: 21.95 kB / 444.5 MB, free: 8.289 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.3106, allocations: 63.41 kB / 444.5 MB, free: 8.227 MB / 350.1 MB Notification: Performance of SimCode: time 1.843e-06/0.3106, allocations: 0 / 444.5 MB, free: 8.227 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0334/0.344, allocations: 5.758 MB / 450.3 MB, free: 2.668 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.9/13.25, allocations: 7.234 kB / 450.3 MB, free: 2.664 MB / 350.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.546785895945504] Failed to read output from testmodel.py, exit status != 0: ['time', 'c.v', 'opAmp.out.v', 'opAmp.out.i'] 13.418196481070481 13.433166287 13.149437986 Calling exit ...