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.001325/0.001325, allocations: 120.2 kB / 18.5 MB, free: 4.578 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.001387/0.001387, allocations: 205 kB / 21.45 MB, free: 1.629 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.414/1.414, allocations: 230.5 MB / 254.8 MB, free: 15.08 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.001946/0.001946, allocations: 71.83 kB / 373.7 MB, free: 10.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1057, allocations: 53.32 MB / 427 MB, free: 4.734 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.004001/0.1097, allocations: 2.626 MB / 429.7 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.111, allocations: 0.6895 MB / 430.4 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001404/0.1111, allocations: 7.938 kB / 430.4 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001662/0.1113, allocations: 51.56 kB / 430.4 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002631/0.1116, allocations: 79.33 kB / 430.5 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000196/0.1118, allocations: 91.81 kB / 430.6 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003926/0.1122, allocations: 302.7 kB / 430.9 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001907/0.1124, allocations: 76.88 kB / 431 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001418/0.1125, allocations: 115.6 kB / 431.1 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001771/0.1127, allocations: 139.3 kB / 431.2 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.395e-05/0.1127, allocations: 24 kB / 431.2 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.217e-05/0.1128, allocations: 24 kB / 431.3 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.905e-05/0.1128, allocations: 59.83 kB / 431.3 MB, free: 444 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001313/0.113, allocations: 127.4 kB / 431.4 MB, free: 316 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003626/0.1133, allocations: 290.7 kB / 431.7 MB, free: 24 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1133, allocations: 0 / 431.7 MB, free: 24 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1133, allocations: 0 / 431.7 MB, free: 24 kB / 350.1 MB Notification: Performance of Transformations before backend: time 9.798e-06/0.1133, allocations: 3.938 kB / 431.7 MB, free: 20 kB / 350.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.1792/0.2925, allocations: 0.5624 MB / 432.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.2926, allocations: 10.83 kB / 432.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.441e-05/0.2926, allocations: 60.52 kB / 432.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.948e-05/0.2927, allocations: 31.16 kB / 432.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003125/0.293, allocations: 255.2 kB / 432.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.293, allocations: 19.62 kB / 432.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.314e-05/0.293, allocations: 22.31 kB / 432.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004377/0.2935, allocations: 227.7 kB / 432.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.2935, allocations: 3.938 kB / 432.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.282e-05/0.2935, allocations: 5.969 kB / 432.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.2935, allocations: 6 kB / 432.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004115/0.2939, allocations: 192.2 kB / 433.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/0.2952, allocations: 0.8987 MB / 434 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005531/0.2957, allocations: 200.7 kB / 434.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002939/0.296, allocations: 117 kB / 434.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.296, allocations: 6 kB / 434.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.41e-05/0.296, allocations: 33.06 kB / 434.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.333e-06/0.296, allocations: 1.438 kB / 434.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.001708/0.2977, allocations: 0.5574 MB / 434.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.03e-05/0.2978, allocations: 56.38 kB / 435 MB, free: 10.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/0.2979, allocations: 227.4 kB / 435.2 MB, free: 9.965 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.298, allocations: 30.27 kB / 435.2 MB, free: 9.934 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.278e-05/0.298, allocations: 170.6 kB / 435.4 MB, free: 9.812 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.986e-05/0.298, allocations: 63.56 kB / 435.4 MB, free: 9.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.853e-05/0.2981, allocations: 41.84 kB / 435.5 MB, free: 9.754 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.05e-05/0.2982, allocations: 331.7 kB / 435.8 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001648/0.2983, allocations: 69.45 kB / 435.9 MB, free: 9.434 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001722/0.2985, allocations: 112.8 kB / 436 MB, free: 9.375 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003151/0.2988, allocations: 186 kB / 436.2 MB, free: 9.316 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.2988, allocations: 0 / 436.2 MB, free: 9.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008089/0.2996, allocations: 343.7 kB / 436.5 MB, free: 9.238 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.2996, allocations: 6.391 kB / 436.5 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.2996, allocations: 2.844 kB / 436.5 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003827/0.3, allocations: 76.14 kB / 436.6 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.3002, allocations: 48.86 kB / 436.6 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002523/0.3027, allocations: 2.01 MB / 438.6 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001719/0.3029, allocations: 25.56 kB / 438.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.3029, allocations: 10.88 kB / 438.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001249/0.303, allocations: 141.2 kB / 438.8 MB, free: 7.438 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.883e-05/0.3031, allocations: 100.5 kB / 438.9 MB, free: 7.355 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001478/0.3033, allocations: 143.4 kB / 439.1 MB, free: 7.258 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.084e-06/0.3033, allocations: 6.812 kB / 439.1 MB, free: 7.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003736/0.3036, allocations: 227.2 kB / 439.3 MB, free: 7.145 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.3036, allocations: 7.719 kB / 439.3 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-06/0.3036, allocations: 1.094 kB / 439.3 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.493e-05/0.3037, allocations: 22.52 kB / 439.3 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.3039, allocations: 53.59 kB / 439.4 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006076/0.3045, allocations: 1.414 MB / 440.8 MB, free: 5.703 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.3046, allocations: 11.2 kB / 440.8 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.3046, allocations: 11.72 kB / 440.8 MB, free: 5.691 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 7.817e-05/0.3047, allocations: 190.2 kB / 441 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.608e-05/0.3047, allocations: 20.92 kB / 441 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.203e-05/0.3048, allocations: 24.92 kB / 441 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.3048, allocations: 8.406 kB / 441 MB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.255e-06/0.3048, allocations: 0 / 441 MB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3048, allocations: 4.953 kB / 441 MB, free: 5.469 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/0.3059, allocations: 0.6199 MB / 441.7 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.3059, allocations: 2.953 kB / 441.7 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.306, allocations: 22.94 kB / 441.7 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002741/0.3063, allocations: 81.84 kB / 441.8 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.3063, allocations: 1.766 kB / 441.8 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002114/0.3084, allocations: 1.92 MB / 443.7 MB, free: 3.379 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3084, allocations: 0 / 443.7 MB, free: 3.379 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000883/0.3093, allocations: 446.1 kB / 444.1 MB, free: 3.145 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.024e-05/0.3093, allocations: 96.78 kB / 444.2 MB, free: 3.039 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/0.3094, allocations: 9.797 kB / 444.2 MB, free: 3.031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001871/0.3095, allocations: 16.86 kB / 444.3 MB, free: 3.031 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.677e-05/0.3096, allocations: 13.39 kB / 444.3 MB, free: 3.027 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.3096, allocations: 7.922 kB / 444.3 MB, free: 3.023 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001385/0.3097, allocations: 162 kB / 444.4 MB, free: 2.922 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3097, allocations: 0 / 444.4 MB, free: 2.922 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005765/0.3103, allocations: 118.3 kB / 444.5 MB, free: 2.895 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.001038/0.3114, allocations: 0.9666 MB / 445.5 MB, free: 2.137 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001274/0.3126, allocations: 0.5301 MB / 446 MB, free: 1.828 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3126, allocations: 0.6875 kB / 446 MB, free: 1.828 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002822/0.3129, allocations: 203.4 kB / 446.2 MB, free: 1.688 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004004/0.3133, allocations: 36.86 kB / 446.3 MB, free: 1.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003777/0.3171, allocations: 2.645 MB / 448.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003788/0.3175, allocations: 0.7462 MB / 449.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001045/0.3176, allocations: 26.19 kB / 449.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.3177, allocations: 63.88 kB / 449.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of SimCode: time 7.82e-07/0.3177, allocations: 0 / 449.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03611/0.3538, allocations: 5.505 MB / 455.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.3, allocations: 8.625 kB / 455.3 MB, free: 14.39 MB / 366.1 MB " [Timeout remaining time 648] (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: 14.735755316913128] Failed to read output from testmodel.py, exit status != 0: ['time', 'c.v', 'opAmp.out.v', 'opAmp.out.i'] 12.396421713754535 12.410224809 12.294135384 Calling exit ...