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.Multivibrator.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.001356/0.001356, 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.002243/0.002243, allocations: 212.6 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.438/1.438, allocations: 230.6 MB / 258.3 MB, free: 8.016 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.Multivibrator,fileNamePrefix="Modelica_4_1_0-beta_om_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-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",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.002867/0.002867, allocations: 68.75 kB / 378.6 MB, free: 3.105 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3136, allocations: 53.36 MB / 431.9 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.00425/0.3179, allocations: 2.643 MB / 434.6 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.3192, allocations: 0.7011 MB / 435.3 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001403/0.3193, allocations: 7.938 kB / 435.3 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001635/0.3195, allocations: 47.58 kB / 435.3 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002527/0.3197, allocations: 83.31 kB / 435.4 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001819/0.3199, allocations: 87.83 kB / 435.5 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003626/0.3203, allocations: 310.6 kB / 435.8 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001927/0.3205, allocations: 69.12 kB / 435.9 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002482/0.3207, allocations: 115.6 kB / 436 MB, free: 2.809 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000181/0.3209, allocations: 127.5 kB / 436.1 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.166e-05/0.3209, allocations: 24 kB / 436.1 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.586e-05/0.321, allocations: 24 kB / 436.2 MB, free: 2.637 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.119e-05/0.321, allocations: 55.78 kB / 436.2 MB, free: 2.582 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001338/0.3212, allocations: 139.3 kB / 436.4 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003738/0.3215, allocations: 291.6 kB / 436.6 MB, free: 2.168 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.3216, allocations: 3.984 kB / 436.6 MB, free: 2.164 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3216, allocations: 0 / 436.6 MB, free: 2.164 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.096e-06/0.3216, allocations: 0 / 436.6 MB, free: 2.164 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.0009444/0.3225, allocations: 497.6 kB / 437.1 MB, free: 1.648 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.3226, allocations: 15.97 kB / 437.2 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.174e-05/0.3226, allocations: 54.73 kB / 437.2 MB, free: 1.57 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.332e-05/0.3227, allocations: 32.75 kB / 437.2 MB, free: 1.539 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003589/0.323, allocations: 198.8 kB / 437.4 MB, free: 1.32 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.3231, allocations: 20.88 kB / 437.5 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.352e-05/0.3231, allocations: 24.38 kB / 437.5 MB, free: 1.277 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004632/0.3236, allocations: 224.2 kB / 437.7 MB, free: 1.055 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.3236, allocations: 0 / 437.7 MB, free: 1.055 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.362e-05/0.3236, allocations: 8 kB / 437.7 MB, free: 1.047 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/0.3236, allocations: 8 kB / 437.7 MB, free: 1.039 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004218/0.324, allocations: 193.8 kB / 437.9 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001539/0.3256, allocations: 0.858 MB / 438.8 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006912/0.3263, allocations: 217 kB / 439 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003087/0.3266, allocations: 120.8 kB / 439.1 MB, free: 15.58 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.3266, allocations: 4 kB / 439.1 MB, free: 15.58 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.432e-05/0.3266, allocations: 34.56 kB / 439.1 MB, free: 15.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.262e-06/0.3266, allocations: 0 / 439.1 MB, free: 15.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.001687/0.3283, allocations: 486 kB / 439.6 MB, free: 15.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/0.3284, allocations: 55.34 kB / 439.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002534/0.3286, allocations: 235.1 kB / 439.9 MB, free: 14.74 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.3287, allocations: 29.7 kB / 439.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.3288, allocations: 172.2 kB / 440.1 MB, free: 14.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.207e-05/0.3288, allocations: 51.55 kB / 440.1 MB, free: 14.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.529e-05/0.3289, allocations: 41.7 kB / 440.2 MB, free: 14.44 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.3291, allocations: 330.8 kB / 440.5 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/0.3293, allocations: 72.83 kB / 440.6 MB, free: 14.03 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00021/0.3295, allocations: 117.8 kB / 440.7 MB, free: 13.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003735/0.3298, allocations: 181.9 kB / 440.9 MB, free: 13.7 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.3298, allocations: 0 / 440.9 MB, free: 13.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009031/0.3307, allocations: 344.7 kB / 441.2 MB, free: 13.35 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.3308, allocations: 8 kB / 441.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.3308, allocations: 0 / 441.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003734/0.3311, allocations: 80.83 kB / 441.3 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.3313, allocations: 43.91 kB / 441.3 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002933/0.3342, allocations: 1.902 MB / 443.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.3344, allocations: 31.94 kB / 443.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.18e-05/0.3344, allocations: 12 kB / 443.3 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001724/0.3346, allocations: 140.2 kB / 443.4 MB, free: 11.01 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00013/0.3347, allocations: 105.9 kB / 443.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002036/0.3349, allocations: 142 kB / 443.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.222e-06/0.3349, allocations: 0 / 443.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003629/0.3353, allocations: 224.8 kB / 443.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.3353, allocations: 4 kB / 443.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.3353, allocations: 8.188 kB / 443.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.305e-05/0.3354, allocations: 28.78 kB / 443.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.3356, allocations: 47.92 kB / 444 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001047/0.3366, allocations: 1.311 MB / 445.3 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.3367, allocations: 11.89 kB / 445.3 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.3367, allocations: 12 kB / 445.3 MB, free: 8.961 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.0001351/0.3369, allocations: 188.2 kB / 445.5 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.761e-05/0.3369, allocations: 19.86 kB / 445.5 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.041e-05/0.337, allocations: 37.39 kB / 445.5 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.337, allocations: 4 kB / 445.5 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.337, allocations: 0 / 445.5 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.337, allocations: 0 / 445.5 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/0.3381, allocations: 0.5882 MB / 446.1 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.3381, allocations: 0 / 446.1 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.3383, allocations: 23.98 kB / 446.1 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002503/0.3385, allocations: 76.8 kB / 446.2 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.3385, allocations: 4 kB / 446.2 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002519/0.341, allocations: 1.829 MB / 448.1 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.341, allocations: 4.062 kB / 448.1 MB, free: 6.023 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008955/0.3419, allocations: 435.2 kB / 448.5 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.598e-05/0.342, allocations: 27.86 kB / 448.5 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.243e-05/0.342, allocations: 0 / 448.5 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.3422, allocations: 24.05 kB / 448.5 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.78e-05/0.3422, allocations: 11.92 kB / 448.5 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.3422, allocations: 7.984 kB / 448.6 MB, free: 5.512 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001702/0.3424, allocations: 163.2 kB / 448.7 MB, free: 5.352 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3424, allocations: 0 / 448.7 MB, free: 5.352 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005424/0.3429, allocations: 115.8 kB / 448.8 MB, free: 5.238 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.00133/0.3443, allocations: 0.9629 MB / 449.8 MB, free: 4.242 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001197/0.3455, allocations: 0.5318 MB / 450.3 MB, free: 3.688 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.3455, allocations: 0 / 450.3 MB, free: 3.688 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003296/0.3458, allocations: 206.4 kB / 450.5 MB, free: 3.473 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004112/0.3462, allocations: 41.09 kB / 450.6 MB, free: 3.434 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004573/0.3508, allocations: 2.64 MB / 453.2 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000516/0.3513, allocations: 0.7363 MB / 453.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001086/0.3514, allocations: 25.94 kB / 454 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.3515, allocations: 63.42 kB / 454 MB, free: 15.82 MB / 366.1 MB Notification: Performance of SimCode: time 1.172e-06/0.3515, allocations: 0 / 454 MB, free: 15.82 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04921/0.4007, allocations: 5.627 MB / 459.6 MB, free: 10.35 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.29/12.7, allocations: 3.125 kB / 459.7 MB, free: 10.35 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_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-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.17976347124204] Failed to read output from testmodel.py, exit status != 0: ['time', 'c.v', 'opAmp.out.v', 'opAmp.out.i'] 12.799009419977665 12.823465634 12.496638976 Calling exit ...