Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.001057/0.001057, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001292/0.001292, allocations: 208.1 kB / 22.25 MB, free: 3.59 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.9717/0.9717, allocations: 230.6 MB / 256 MB, free: 9.602 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.8009/0.8009, allocations: 203.8 MB / 0.5042 GB, free: 10.45 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.Lines.Examples.ACLine,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine",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.00133/0.00133, allocations: 72.36 kB / 0.7182 GB, free: 4.039 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5085/0.5098, allocations: 102 MB / 0.8178 GB, free: 0.8672 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.009018/0.5189, allocations: 10.33 MB / 0.8279 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.009515/0.5284, allocations: 8.504 MB / 0.8362 GB, free: 4.82 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005911/0.529, allocations: 77.91 kB / 0.8363 GB, free: 4.777 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002212/0.5312, allocations: 1.673 MB / 0.8379 GB, free: 3.836 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002482/0.5337, allocations: 1.567 MB / 0.8394 GB, free: 2.906 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001161/0.5348, allocations: 0.6718 MB / 0.8401 GB, free: 2.555 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001743/0.5366, allocations: 2.293 MB / 0.8423 GB, free: 1.355 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001023/0.5376, allocations: 1.14 MB / 0.8434 GB, free: 0.5703 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008854/0.5385, allocations: 1.03 MB / 0.8444 GB, free: 16 kB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008671/0.5393, allocations: 1.001 MB / 0.8454 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.000141/0.5395, allocations: 142.3 kB / 0.8456 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008619/0.5403, allocations: 0.7455 MB / 0.8463 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003595/0.5407, allocations: 0.5744 MB / 0.8468 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0005204/0.5412, allocations: 0.7277 MB / 0.8476 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001708/0.5429, allocations: 2.593 MB / 0.8501 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.5429, allocations: 1.625 kB / 0.8501 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.064e-06/0.5429, allocations: 0 / 0.8501 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.892e-05/0.5429, allocations: 3.984 kB / 0.8501 GB, free: 12.46 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.001996/0.5449, allocations: 1.995 MB / 0.852 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.545, allocations: 10.03 kB / 0.852 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001659/0.5452, allocations: 188.3 kB / 0.8522 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005818/0.551, allocations: 2.063 MB / 0.8542 GB, free: 9.883 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001347/0.5523, allocations: 1.13 MB / 0.8553 GB, free: 9.059 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.165e-05/0.5524, allocations: 89.88 kB / 0.8554 GB, free: 9.016 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001581/0.5525, allocations: 123 kB / 0.8555 GB, free: 8.969 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003272/0.5558, allocations: 2.881 MB / 0.8584 GB, free: 6.867 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.914e-05/0.5558, allocations: 10.73 kB / 0.8584 GB, free: 6.859 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/0.5559, allocations: 54.73 kB / 0.8584 GB, free: 6.82 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001983/0.5561, allocations: 131.7 kB / 0.8585 GB, free: 6.777 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004106/0.5602, allocations: 2.534 MB / 0.861 GB, free: 5.496 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007228/0.5675, allocations: 7.644 MB / 0.8685 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00339/0.5709, allocations: 1.841 MB / 0.8703 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001535/0.5724, allocations: 0.9446 MB / 0.8712 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.129e-05/0.5724, allocations: 4.438 kB / 0.8712 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.5725, allocations: 42.98 kB / 0.8713 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=53): time 1.733e-06/0.5725, allocations: 0 / 0.8713 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of matching and sorting (n=81): time 0.01554/0.588, allocations: 8.641 MB / 0.8797 GB, free: 5.473 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.588, allocations: 67.94 kB / 0.8798 GB, free: 5.391 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008869/0.5889, allocations: 1.116 MB / 0.8808 GB, free: 4.258 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.718e-05/0.589, allocations: 41.64 kB / 0.8809 GB, free: 4.211 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003497/0.5893, allocations: 0.7473 MB / 0.8816 GB, free: 3.457 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001715/0.5895, allocations: 293.4 kB / 0.8819 GB, free: 3.168 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002373/0.5898, allocations: 206.5 kB / 0.8821 GB, free: 2.957 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.917e-05/0.5898, allocations: 341.9 kB / 0.8824 GB, free: 2.617 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001596/0.5914, allocations: 1.075 MB / 0.8835 GB, free: 1.543 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001686/0.5931, allocations: 1.309 MB / 0.8847 GB, free: 140 kB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003218/0.5963, allocations: 2.382 MB / 0.8871 GB, free: 13.66 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.5963, allocations: 4 kB / 0.8871 GB, free: 13.65 MB / 0.6667 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00468/0.601, allocations: 3.258 MB / 0.8903 GB, free: 10.36 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.601, allocations: 8 kB / 0.8903 GB, free: 10.36 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.6011, allocations: 4 kB / 0.8903 GB, free: 10.35 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001431/0.6025, allocations: 0.7951 MB / 0.891 GB, free: 9.535 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009441/0.6034, allocations: 411.3 kB / 0.8914 GB, free: 9.133 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00974/0.6132, allocations: 14.98 MB / 0.9061 GB, free: 9.219 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001181/0.6144, allocations: 291.5 kB / 0.9064 GB, free: 8.934 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.381e-05/0.6144, allocations: 47.97 kB / 0.9064 GB, free: 8.887 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005392/0.615, allocations: 405.5 kB / 0.9068 GB, free: 8.48 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001532/0.6151, allocations: 151.1 kB / 0.9069 GB, free: 8.332 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004649/0.6198, allocations: 3.175 MB / 0.91 GB, free: 5.117 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.6198, allocations: 8 kB / 0.91 GB, free: 5.109 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/0.6198, allocations: 8 kB / 0.91 GB, free: 5.102 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.6198, allocations: 3.984 kB / 0.91 GB, free: 5.098 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006082/0.6259, allocations: 4.624 MB / 0.9146 GB, free: 368 kB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.6259, allocations: 0 / 0.9146 GB, free: 368 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007786/0.6267, allocations: 351.7 kB / 0.9149 GB, free: 16 kB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001181/0.6278, allocations: 0.6974 MB / 0.9156 GB, free: 15.29 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.582e-05/0.6279, allocations: 31.97 kB / 0.9156 GB, free: 15.26 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008978/0.6369, allocations: 14.61 MB / 0.9299 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.6369, allocations: 0 / 0.9299 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004401/0.6413, allocations: 3.021 MB / 0.9328 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005079/0.6418, allocations: 322.8 kB / 0.9331 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.6419, allocations: 16 kB / 0.9332 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009415/0.6428, allocations: 299.4 kB / 0.9334 GB, free: 12 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001867/0.643, allocations: 84.44 kB / 0.9335 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.943e-05/0.6431, allocations: 40.16 kB / 0.9336 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007307/0.6438, allocations: 0.7327 MB / 0.9343 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6438, allocations: 0 / 0.9343 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001156/0.645, allocations: 432 kB / 0.9347 GB, free: 10.72 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004558/0.6495, allocations: 3.599 MB / 0.9382 GB, free: 7.035 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004604/0.6541, allocations: 3.515 MB / 0.9416 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.6541, allocations: 4 kB / 0.9416 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002535/0.6567, allocations: 2.313 MB / 0.9439 GB, free: 0.9961 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/0.6579, allocations: 0.5269 MB / 0.9444 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0199/0.6778, allocations: 15.83 MB / 0.9599 GB, free: 252 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006218/0.6784, allocations: 0.8099 MB / 0.9607 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001022/0.6794, allocations: 371.9 kB / 0.961 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006105/0.6801, allocations: 0.6008 MB / 0.9616 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of SimCode: time 2.485e-06/0.6801, allocations: 0 / 0.9616 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06793/0.748, allocations: 45.62 MB / 1.006 GB, free: 1.5 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.828/8.576, allocations: 7.922 kB / 1.006 GB, free: 1.492 MB / 0.7761 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_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_Lines_Examples_ACLine.fmu > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.641690419986844] Failed to read output from testmodel.py, exit status != 0: 8.672919339966029 8.680250727 8.135608034 Calling exit ...