Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.0008354/0.0008354, allocations: 105.9 kB / 18.93 MB, free: 1.27 MB / 13.93 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.0007702/0.0007702, allocations: 219.1 kB / 22.26 MB, free: 3.699 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9529/0.9529, allocations: 230.6 MB / 256 MB, free: 9.824 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8299/0.8299, allocations: 203.8 MB / 0.5042 GB, free: 10.77 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 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.0009938/0.0009938, allocations: 61.62 kB / 0.7182 GB, free: 4.383 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5489/0.5499, allocations: 102 MB / 0.8179 GB, free: 1.277 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.004417/0.5543, allocations: 5.02 MB / 0.8228 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002554/0.5569, allocations: 2.558 MB / 0.8253 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001852/0.5571, allocations: 35.34 kB / 0.8253 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007705/0.5578, allocations: 415.8 kB / 0.8257 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005803/0.5584, allocations: 470 kB / 0.8261 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005205/0.5589, allocations: 381.2 kB / 0.8265 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0009055/0.5598, allocations: 0.9178 MB / 0.8274 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005259/0.5604, allocations: 320.5 kB / 0.8277 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004483/0.5608, allocations: 352 kB / 0.828 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004263/0.5612, allocations: 372.7 kB / 0.8284 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.643e-05/0.5613, allocations: 35.56 kB / 0.8284 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005984/0.5619, allocations: 417 kB / 0.8288 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002202/0.5621, allocations: 184.8 kB / 0.829 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002703/0.5624, allocations: 316.2 kB / 0.8293 GB, free: 10.08 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0009834/0.5634, allocations: 0.8845 MB / 0.8302 GB, free: 9.766 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.5634, allocations: 0.75 kB / 0.8302 GB, free: 9.766 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5634, allocations: 0 / 0.8302 GB, free: 9.766 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.121e-05/0.5634, allocations: 0 / 0.8302 GB, free: 9.766 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.00105/0.5644, allocations: 0.8893 MB / 0.831 GB, free: 9.129 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.5645, allocations: 9.469 kB / 0.831 GB, free: 9.129 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.862e-05/0.5646, allocations: 90.06 kB / 0.8311 GB, free: 9.062 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007777/0.5654, allocations: 209.9 kB / 0.8313 GB, free: 9.012 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006968/0.5661, allocations: 479.1 kB / 0.8318 GB, free: 8.711 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.819e-05/0.5661, allocations: 35.42 kB / 0.8318 GB, free: 8.695 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.357e-05/0.5662, allocations: 41.88 kB / 0.8319 GB, free: 8.684 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008679/0.567, allocations: 0.8521 MB / 0.8327 GB, free: 8.094 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.5671, allocations: 7.438 kB / 0.8327 GB, free: 8.09 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.211e-05/0.5671, allocations: 32.08 kB / 0.8327 GB, free: 8.066 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.749e-05/0.5672, allocations: 67.3 kB / 0.8328 GB, free: 8.055 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006412/0.5678, allocations: 0.5675 MB / 0.8333 GB, free: 7.848 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003314/0.5711, allocations: 5.578 MB / 0.8388 GB, free: 2.785 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004967/0.5716, allocations: 426.4 kB / 0.8392 GB, free: 2.625 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002382/0.5719, allocations: 207.7 kB / 0.8394 GB, free: 2.551 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.5719, allocations: 2.625 kB / 0.8394 GB, free: 2.551 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.5719, allocations: 33.73 kB / 0.8394 GB, free: 2.512 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=32): time 1.433e-06/0.5719, allocations: 0 / 0.8394 GB, free: 2.512 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33): time 0.001804/0.5737, allocations: 1.14 MB / 0.8405 GB, free: 2.031 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/0.5737, allocations: 59.12 kB / 0.8406 GB, free: 1.965 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004552/0.5742, allocations: 0.4892 MB / 0.8411 GB, free: 1.734 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.5742, allocations: 30.8 kB / 0.8411 GB, free: 1.699 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001933/0.5744, allocations: 370.6 kB / 0.8415 GB, free: 1.398 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.591e-05/0.5745, allocations: 125.5 kB / 0.8416 GB, free: 1.301 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.5746, allocations: 111.5 kB / 0.8417 GB, free: 1.238 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.5747, allocations: 361.6 kB / 0.842 GB, free: 0.9062 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002407/0.5749, allocations: 196.2 kB / 0.8422 GB, free: 0.8438 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003434/0.5753, allocations: 454.6 kB / 0.8427 GB, free: 456 kB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006185/0.5759, allocations: 0.6973 MB / 0.8433 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.5759, allocations: 2.469 kB / 0.8433 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001092/0.577, allocations: 0.8087 MB / 0.8441 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.577, allocations: 10.59 kB / 0.8441 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.577, allocations: 8.25 kB / 0.8441 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000345/0.5774, allocations: 157.1 kB / 0.8443 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002644/0.5776, allocations: 123 kB / 0.8444 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002038/0.5797, allocations: 4.036 MB / 0.8484 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001958/0.5799, allocations: 33.09 kB / 0.8484 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.129e-05/0.5799, allocations: 31.36 kB / 0.8484 GB, free: 11.4 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001875/0.5801, allocations: 214.9 kB / 0.8486 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.04e-05/0.5802, allocations: 65.78 kB / 0.8487 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006793/0.5808, allocations: 0.5963 MB / 0.8493 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.5809, allocations: 3.906 kB / 0.8493 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.5809, allocations: 1.281 kB / 0.8493 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.5809, allocations: 3.984 kB / 0.8493 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001263/0.5821, allocations: 1.233 MB / 0.8505 GB, free: 9.918 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.5821, allocations: 1.469 kB / 0.8505 GB, free: 9.918 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/0.5823, allocations: 54.45 kB / 0.8505 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002357/0.5825, allocations: 148.9 kB / 0.8507 GB, free: 9.801 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/0.5825, allocations: 12.06 kB / 0.8507 GB, free: 9.793 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002208/0.5847, allocations: 4.028 MB / 0.8546 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/0.5847, allocations: 2.531 kB / 0.8546 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006715/0.5854, allocations: 0.7128 MB / 0.8553 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.5855, allocations: 99.69 kB / 0.8554 GB, free: 5.191 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.144e-05/0.5856, allocations: 8.531 kB / 0.8554 GB, free: 5.188 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.5857, allocations: 22.94 kB / 0.8554 GB, free: 5.176 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.261e-05/0.5857, allocations: 29.83 kB / 0.8555 GB, free: 5.156 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.5857, allocations: 13.12 kB / 0.8555 GB, free: 5.152 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002396/0.586, allocations: 334.1 kB / 0.8558 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.586, allocations: 1.938 kB / 0.8558 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004224/0.5864, allocations: 144.3 kB / 0.8559 GB, free: 4.934 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008336/0.5872, allocations: 1.254 MB / 0.8572 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00093/0.5882, allocations: 0.8632 MB / 0.858 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5882, allocations: 0 / 0.858 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004161/0.5886, allocations: 0.5765 MB / 0.8586 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005981/0.5892, allocations: 203.3 kB / 0.8588 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00464/0.5938, allocations: 5.109 MB / 0.8638 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/0.5942, allocations: 0.8957 MB / 0.8646 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002508/0.5944, allocations: 122.1 kB / 0.8647 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001784/0.5946, allocations: 195.2 kB / 0.8649 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of SimCode: time 8.11e-07/0.5946, allocations: 0 / 0.8649 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03354/0.6282, allocations: 13.22 MB / 0.8778 GB, free: 6.512 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.258/7.886, allocations: 2.688 kB / 0.8779 GB, free: 6.512 MB / 0.6511 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.054268987150863] Failed to read output from testmodel.py, exit status != 0: 7.974711801856756 7.983354552 7.417531801 Calling exit ...