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.0008157/0.0008157, allocations: 105.5 kB / 18.95 MB, free: 1.176 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.001078/0.001078, allocations: 217.2 kB / 22.25 MB, free: 3.57 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.937/0.937, allocations: 230.6 MB / 256 MB, free: 9.625 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.7998/0.7998, allocations: 203.8 MB / 0.5042 GB, free: 10.42 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.0013/0.0013, allocations: 70.2 kB / 0.7182 GB, free: 4.039 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5101/0.5114, allocations: 102 MB / 0.8178 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.004427/0.5158, allocations: 4.622 MB / 0.8223 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00329/0.5191, allocations: 2.404 MB / 0.8246 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003603/0.5195, allocations: 36.31 kB / 0.8247 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0008143/0.5203, allocations: 404.2 kB / 0.8251 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0008088/0.5211, allocations: 466.5 kB / 0.8255 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006988/0.5218, allocations: 385.5 kB / 0.8259 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0007881/0.5226, allocations: 0.9169 MB / 0.8268 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004545/0.5231, allocations: 312.5 kB / 0.8271 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004415/0.5235, allocations: 362.7 kB / 0.8274 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003911/0.5239, allocations: 342.4 kB / 0.8277 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.552e-05/0.5239, allocations: 39.03 kB / 0.8278 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005951/0.5245, allocations: 354.1 kB / 0.8281 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001825/0.5247, allocations: 184.9 kB / 0.8283 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002145/0.5249, allocations: 269.5 kB / 0.8286 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0008961/0.5258, allocations: 0.8918 MB / 0.8294 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.5258, allocations: 0 / 0.8294 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.205e-06/0.5258, allocations: 0 / 0.8294 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.341e-05/0.5259, allocations: 2.484 kB / 0.8294 GB, free: 10.25 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.001172/0.527, allocations: 0.8798 MB / 0.8303 GB, free: 9.617 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.5271, allocations: 10.2 kB / 0.8303 GB, free: 9.617 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001008/0.5272, allocations: 92.86 kB / 0.8304 GB, free: 9.547 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009248/0.5281, allocations: 206.8 kB / 0.8306 GB, free: 9.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007206/0.5288, allocations: 480.2 kB / 0.831 GB, free: 9.199 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.014e-05/0.5288, allocations: 36.55 kB / 0.8311 GB, free: 9.184 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.196e-05/0.5289, allocations: 40.28 kB / 0.8311 GB, free: 9.172 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009678/0.5299, allocations: 0.9857 MB / 0.8321 GB, free: 8.426 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/0.5299, allocations: 12.25 kB / 0.8321 GB, free: 8.418 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.827e-05/0.5299, allocations: 23.95 kB / 0.8321 GB, free: 8.402 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.823e-05/0.53, allocations: 66 kB / 0.8322 GB, free: 8.391 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006936/0.5307, allocations: 0.5664 MB / 0.8327 GB, free: 8.188 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003341/0.5341, allocations: 4.721 MB / 0.8373 GB, free: 4.105 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005108/0.5346, allocations: 420.5 kB / 0.8377 GB, free: 3.949 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002423/0.5348, allocations: 205.6 kB / 0.8379 GB, free: 3.875 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.5348, allocations: 3.344 kB / 0.8379 GB, free: 3.875 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.5349, allocations: 34.55 kB / 0.838 GB, free: 3.836 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=32): time 2.074e-06/0.5349, allocations: 0 / 0.838 GB, free: 3.836 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33): time 0.00183/0.5367, allocations: 1.136 MB / 0.8391 GB, free: 3.359 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.5367, allocations: 59.91 kB / 0.8391 GB, free: 3.293 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004605/0.5372, allocations: 0.5075 MB / 0.8396 GB, free: 3.047 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.5372, allocations: 30.86 kB / 0.8397 GB, free: 3.012 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.00019/0.5374, allocations: 367.1 kB / 0.84 GB, free: 2.715 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.914e-05/0.5375, allocations: 120.7 kB / 0.8401 GB, free: 2.621 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.5376, allocations: 112 kB / 0.8402 GB, free: 2.559 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.5377, allocations: 366.2 kB / 0.8406 GB, free: 2.223 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002355/0.538, allocations: 195.2 kB / 0.8408 GB, free: 2.16 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003534/0.5383, allocations: 450.4 kB / 0.8412 GB, free: 1.773 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006381/0.5389, allocations: 0.693 MB / 0.8419 GB, free: 1.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.539, allocations: 6.688 kB / 0.8419 GB, free: 1.246 MB / 0.6198 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0009807/0.5399, allocations: 0.8086 MB / 0.8427 GB, free: 0.8867 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.678e-05/0.54, allocations: 12.73 kB / 0.8427 GB, free: 0.8828 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.54, allocations: 7.812 kB / 0.8427 GB, free: 0.8828 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003334/0.5403, allocations: 159.1 kB / 0.8428 GB, free: 0.7812 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002832/0.5406, allocations: 123.1 kB / 0.843 GB, free: 0.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00262/0.5432, allocations: 4.023 MB / 0.8469 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003548/0.5436, allocations: 37.31 kB / 0.8469 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.979e-05/0.5436, allocations: 30.95 kB / 0.847 GB, free: 12.71 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.0002523/0.5438, allocations: 219 kB / 0.8472 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.443e-05/0.5439, allocations: 61.81 kB / 0.8472 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006966/0.5446, allocations: 0.59 MB / 0.8478 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.5446, allocations: 4.469 kB / 0.8478 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.5446, allocations: 1.375 kB / 0.8478 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.5446, allocations: 3.984 kB / 0.8478 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/0.546, allocations: 1.184 MB / 0.849 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.546, allocations: 1.312 kB / 0.849 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001447/0.5461, allocations: 54.27 kB / 0.849 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002397/0.5463, allocations: 146 kB / 0.8492 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/0.5464, allocations: 12.03 kB / 0.8492 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0019/0.5483, allocations: 4.017 MB / 0.8531 GB, free: 7.156 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.5483, allocations: 5.5 kB / 0.8531 GB, free: 7.152 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008148/0.5491, allocations: 0.7066 MB / 0.8538 GB, free: 6.66 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001566/0.5492, allocations: 92.05 kB / 0.8539 GB, free: 6.602 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.158e-05/0.5493, allocations: 7.531 kB / 0.8539 GB, free: 6.598 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.5494, allocations: 26.69 kB / 0.8539 GB, free: 6.582 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.397e-05/0.5495, allocations: 39.58 kB / 0.8539 GB, free: 6.555 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.5495, allocations: 20.12 kB / 0.854 GB, free: 6.543 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000248/0.5497, allocations: 328.4 kB / 0.8543 GB, free: 6.352 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.5497, allocations: 0 / 0.8543 GB, free: 6.352 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005028/0.5502, allocations: 142.5 kB / 0.8544 GB, free: 6.336 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.0008323/0.5511, allocations: 1.26 MB / 0.8556 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0009643/0.552, allocations: 0.8599 MB / 0.8565 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.552, allocations: 0 / 0.8565 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004378/0.5525, allocations: 0.5675 MB / 0.857 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006644/0.5531, allocations: 209.8 kB / 0.8572 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004838/0.558, allocations: 5.115 MB / 0.8622 GB, free: 392 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002286/0.5582, allocations: 311.1 kB / 0.8625 GB, free: 188 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000307/0.5585, allocations: 117.5 kB / 0.8626 GB, free: 132 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001832/0.5587, allocations: 195.1 kB / 0.8628 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of SimCode: time 9.11e-07/0.5587, allocations: 0 / 0.8628 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03797/0.5967, allocations: 14.16 MB / 0.8767 GB, free: 7.578 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.208/7.805, allocations: 8.422 kB / 0.8767 GB, free: 7.57 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: 10.747087427880615] Failed to read output from testmodel.py, exit status != 0: 7.891366082243621 7.904338924 7.376525329 Calling exit ...