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.HighPass.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.001406/0.001406, allocations: 109 kB / 21.23 MB, free: 0.6719 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.001456/0.001456, allocations: 209.2 kB / 24.53 MB, free: 4.035 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.408/1.408, allocations: 230.6 MB / 258.3 MB, free: 8.047 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.HighPass,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",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.003103/0.003103, allocations: 64.75 kB / 378.6 MB, free: 3.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2558, allocations: 53.37 MB / 431.9 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004744/0.2606, allocations: 3.133 MB / 435.1 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001602/0.2622, allocations: 0.8026 MB / 435.9 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001911/0.2624, allocations: 7.938 kB / 435.9 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001751/0.2626, allocations: 55.5 kB / 435.9 MB, free: 2.867 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002454/0.2628, allocations: 123 kB / 436.1 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003247/0.2631, allocations: 123.8 kB / 436.2 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005253/0.2637, allocations: 458.2 kB / 436.6 MB, free: 2.176 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002164/0.2639, allocations: 103.5 kB / 436.7 MB, free: 2.074 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003199/0.2642, allocations: 179.4 kB / 436.9 MB, free: 1.898 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002614/0.2644, allocations: 195.1 kB / 437.1 MB, free: 1.707 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.223e-05/0.2645, allocations: 44 kB / 437.1 MB, free: 1.664 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.031e-05/0.2646, allocations: 44 kB / 437.2 MB, free: 1.621 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.055e-05/0.2647, allocations: 87.69 kB / 437.3 MB, free: 1.535 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001985/0.2649, allocations: 199.1 kB / 437.5 MB, free: 1.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005863/0.2655, allocations: 499 kB / 438 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.2655, allocations: 0 / 438 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2655, allocations: 3.938 kB / 438 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.108e-05/0.2655, allocations: 0 / 438 MB, free: 0.8516 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001372/0.2668, allocations: 0.6355 MB / 438.6 MB, free: 180 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.2669, allocations: 11.97 kB / 438.6 MB, free: 168 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.194e-05/0.267, allocations: 66.72 kB / 438.7 MB, free: 92 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.69e-05/0.267, allocations: 40.7 kB / 438.7 MB, free: 52 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000472/0.2675, allocations: 253 kB / 439 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.882e-05/0.2675, allocations: 29.03 kB / 439 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.847e-05/0.2676, allocations: 28.12 kB / 439 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000771/0.2684, allocations: 353 kB / 439.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.2684, allocations: 0 / 439.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.268e-05/0.2684, allocations: 12 kB / 439.4 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.2684, allocations: 8 kB / 439.4 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008577/0.2693, allocations: 298.4 kB / 439.7 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002258/0.2715, allocations: 1.241 MB / 440.9 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006689/0.2722, allocations: 222.4 kB / 441.1 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003394/0.2725, allocations: 112.3 kB / 441.2 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.073e-05/0.2726, allocations: 4 kB / 441.2 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005234/0.2731, allocations: 197.8 kB / 441.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.473e-06/0.2731, allocations: 0 / 441.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002311/0.2754, allocations: 0.6033 MB / 442 MB, free: 12.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.644e-05/0.2755, allocations: 110.7 kB / 442.1 MB, free: 12.44 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003865/0.2759, allocations: 300.1 kB / 442.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.537e-05/0.2759, allocations: 29.7 kB / 442.5 MB, free: 12.1 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001757/0.2761, allocations: 216 kB / 442.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.047e-05/0.2762, allocations: 55.55 kB / 442.7 MB, free: 11.83 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.962e-05/0.2763, allocations: 53.66 kB / 442.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.2764, allocations: 342.8 kB / 443.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003889/0.2768, allocations: 111.9 kB / 443.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004277/0.2773, allocations: 208.7 kB / 443.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007331/0.278, allocations: 327.7 kB / 443.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.278, allocations: 0 / 443.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001302/0.2793, allocations: 490 kB / 444.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.259e-05/0.2793, allocations: 33.7 kB / 444.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.2793, allocations: 4 kB / 444.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000391/0.2797, allocations: 92.8 kB / 444.4 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002587/0.28, allocations: 51.95 kB / 444.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002869/0.2829, allocations: 1.902 MB / 446.3 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003842/0.2832, allocations: 55.81 kB / 446.4 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.177e-05/0.2833, allocations: 19.98 kB / 446.4 MB, free: 7.934 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * 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.0002223/0.2835, allocations: 152.5 kB / 446.5 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.772e-05/0.2835, allocations: 27.81 kB / 446.6 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.324e-05/0.2836, allocations: 33.73 kB / 446.6 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.2836, allocations: 0 / 446.6 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.2836, allocations: 4 kB / 446.6 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.2836, allocations: 7.938 kB / 446.6 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000368/0.284, allocations: 312.4 kB / 446.9 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.284, allocations: 0 / 446.9 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00019/0.2842, allocations: 27.97 kB / 446.9 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002873/0.2845, allocations: 84.8 kB / 447 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.016e-05/0.2845, allocations: 7.938 kB / 447 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002468/0.287, allocations: 1.705 MB / 448.7 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.287, allocations: 0 / 448.7 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001439/0.2884, allocations: 0.4935 MB / 449.2 MB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.903e-05/0.2885, allocations: 31.78 kB / 449.3 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.26e-05/0.2885, allocations: 3.938 kB / 449.3 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000258/0.2888, allocations: 40.02 kB / 449.3 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.58e-05/0.2889, allocations: 19.97 kB / 449.3 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/0.2889, allocations: 7.984 kB / 449.3 MB, free: 4.797 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002522/0.2892, allocations: 211 kB / 449.5 MB, free: 4.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2892, allocations: 0 / 449.5 MB, free: 4.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004179/0.2896, allocations: 87.83 kB / 449.6 MB, free: 4.504 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (derivative.c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001835/0.2914, allocations: 1.034 MB / 450.7 MB, free: 3.441 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001127/0.2925, allocations: 437.9 kB / 451.1 MB, free: 2.988 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.2925, allocations: 0 / 451.1 MB, free: 2.988 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005084/0.293, allocations: 234.5 kB / 451.3 MB, free: 2.746 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004162/0.2935, allocations: 57.45 kB / 451.4 MB, free: 2.691 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006084/0.2995, allocations: 3.314 MB / 454.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004953/0.3, allocations: 0.7677 MB / 455.4 MB, free: 14.42 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001507/0.3002, allocations: 34.95 kB / 455.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001749/0.3004, allocations: 87.41 kB / 455.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of SimCode: time 1.232e-06/0.3004, allocations: 0 / 455.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03864/0.339, allocations: 7.59 MB / 463.2 MB, free: 6.883 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.34, allocations: 7.266 kB / 463.2 MB, free: 6.879 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_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_HighPass.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.751913158688694] Failed to read output from testmodel.py, exit status != 0: ['time', 'derivative.c.v', 'derivative.opAmp.out.v', 'derivative.opAmp.out.i'] 12.443414483685046 12.469074446 12.198312843 Calling exit ...