Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.0008446/0.0008446, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.00154/0.00154, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.9367/0.9367, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.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.7679/0.7679, allocations: 154.5 MB / 413.7 MB, free: 0.832 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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_L,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.618 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.108e-05/2.29e-05, allocations: 8.656 kB / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.005296/0.005319, allocations: 5.807 MB / 0.6237 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003556/0.008875, allocations: 3.086 MB / 0.6267 GB, free: 4.758 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003352/0.00921, allocations: 39.62 kB / 0.6268 GB, free: 4.719 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001269/0.01048, allocations: 0.9407 MB / 0.6277 GB, free: 3.777 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0008346/0.01131, allocations: 0.497 MB / 0.6282 GB, free: 3.277 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000905/0.01222, allocations: 490.5 kB / 0.6286 GB, free: 2.797 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.001017/0.01324, allocations: 1.123 MB / 0.6297 GB, free: 1.668 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006836/0.01392, allocations: 0.5022 MB / 0.6302 GB, free: 1.156 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007112/0.01463, allocations: 0.6117 MB / 0.6308 GB, free: 0.543 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004415/0.01507, allocations: 426.8 kB / 0.6312 GB, free: 128 kB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 6.389e-05/0.01514, allocations: 56 kB / 0.6313 GB, free: 72 kB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005972/0.01573, allocations: 446.8 kB / 0.6317 GB, free: 15.63 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002183/0.01595, allocations: 315.1 kB / 0.632 GB, free: 15.32 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001895/0.01614, allocations: 275.3 kB / 0.6323 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001123/0.01726, allocations: 1.203 MB / 0.6335 GB, free: 13.85 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.01727, allocations: 0 / 0.6335 GB, free: 13.85 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.984e-06/0.01727, allocations: 4 kB / 0.6335 GB, free: 13.84 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.796e-05/0.01729, allocations: 0 / 0.6335 GB, free: 13.84 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001325/0.01861, allocations: 0.9869 MB / 0.6344 GB, free: 12.82 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.01866, allocations: 9.469 kB / 0.6344 GB, free: 12.82 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.857e-05/0.01876, allocations: 122.6 kB / 0.6346 GB, free: 12.69 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008459/0.0196, allocations: 232.1 kB / 0.6348 GB, free: 12.46 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006283/0.02023, allocations: 0.508 MB / 0.6353 GB, free: 11.93 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.937e-05/0.02026, allocations: 49.67 kB / 0.6353 GB, free: 11.88 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.982e-05/0.02033, allocations: 60.36 kB / 0.6354 GB, free: 11.82 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009988/0.02133, allocations: 1.13 MB / 0.6365 GB, free: 10.56 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.45e-05/0.02135, allocations: 8.141 kB / 0.6365 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.693e-05/0.0214, allocations: 40.11 kB / 0.6365 GB, free: 10.51 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.888e-05/0.02147, allocations: 73.25 kB / 0.6366 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007298/0.0222, allocations: 0.6917 MB / 0.6373 GB, free: 9.746 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003059/0.02526, allocations: 4.491 MB / 0.6417 GB, free: 5.09 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005212/0.02578, allocations: 406.3 kB / 0.642 GB, free: 4.684 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004788/0.02626, allocations: 396.4 kB / 0.6424 GB, free: 4.293 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.02628, allocations: 8.625 kB / 0.6424 GB, free: 4.285 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.02631, allocations: 38.56 kB / 0.6425 GB, free: 4.238 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=41): time 2.394e-06/0.02631, allocations: 0 / 0.6425 GB, free: 4.238 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42): time 0.002406/0.02871, allocations: 1.714 MB / 0.6441 GB, free: 2.504 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/0.02874, allocations: 59.34 kB / 0.6442 GB, free: 2.434 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003418/0.02909, allocations: 466.7 kB / 0.6446 GB, free: 1.965 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.02911, allocations: 37.7 kB / 0.6447 GB, free: 1.922 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000174/0.02929, allocations: 396 kB / 0.6451 GB, free: 1.531 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.949e-05/0.02936, allocations: 150.7 kB / 0.6452 GB, free: 1.383 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.02947, allocations: 110.2 kB / 0.6453 GB, free: 1.27 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.02957, allocations: 366.8 kB / 0.6457 GB, free: 0.9023 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002374/0.02981, allocations: 245.2 kB / 0.6459 GB, free: 0.6602 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003288/0.03014, allocations: 461 kB / 0.6463 GB, free: 124 kB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006313/0.03077, allocations: 0.7595 MB / 0.6471 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.03077, allocations: 4 kB / 0.6471 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001125/0.0319, allocations: 1.047 MB / 0.6481 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.03192, allocations: 8 kB / 0.6481 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.03192, allocations: 7.938 kB / 0.6481 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005824/0.03251, allocations: 323.3 kB / 0.6484 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002073/0.03271, allocations: 99.81 kB / 0.6485 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005196/0.03791, allocations: 7.068 MB / 0.6554 GB, free: 6.223 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002766/0.03819, allocations: 31.98 kB / 0.6554 GB, free: 6.191 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.904e-05/0.03822, allocations: 27.94 kB / 0.6555 GB, free: 6.164 MB / 0.6198 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002702/0.03849, allocations: 242.6 kB / 0.6557 GB, free: 5.918 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.964e-05/0.03855, allocations: 67.55 kB / 0.6558 GB, free: 5.852 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009848/0.03953, allocations: 0.8925 MB / 0.6566 GB, free: 4.938 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.03953, allocations: 4 kB / 0.6566 GB, free: 4.934 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.03954, allocations: 8 kB / 0.6567 GB, free: 4.926 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.03955, allocations: 3.984 kB / 0.6567 GB, free: 4.922 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001658/0.0412, allocations: 1.592 MB / 0.6582 GB, free: 3.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.04121, allocations: 4 kB / 0.6582 GB, free: 3.246 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.494e-05/0.04129, allocations: 39.91 kB / 0.6583 GB, free: 3.207 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000496/0.04179, allocations: 311.3 kB / 0.6585 GB, free: 2.891 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.805e-05/0.04182, allocations: 12 kB / 0.6586 GB, free: 2.879 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004578/0.0464, allocations: 7.069 MB / 0.6655 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.0464, allocations: 0 / 0.6655 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.04741, allocations: 0.9797 MB / 0.6664 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001645/0.04757, allocations: 107.5 kB / 0.6665 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.534e-05/0.04761, allocations: 11.98 kB / 0.6665 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.04775, allocations: 19.98 kB / 0.6666 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.326e-05/0.04784, allocations: 47.8 kB / 0.6666 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.04786, allocations: 12 kB / 0.6666 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002289/0.04809, allocations: 310.9 kB / 0.6669 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.04809, allocations: 4 kB / 0.6669 GB, free: 9.824 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005683/0.04865, allocations: 192 kB / 0.6671 GB, free: 9.637 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,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.001202/0.04986, allocations: 1.541 MB / 0.6686 GB, free: 8.039 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001167/0.05102, allocations: 1.155 MB / 0.6697 GB, free: 6.832 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.05102, allocations: 0 / 0.6697 GB, free: 6.832 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006067/0.05163, allocations: 0.8307 MB / 0.6705 GB, free: 5.949 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005758/0.05221, allocations: 204.8 kB / 0.6707 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2595/0.3117, allocations: 5.851 MB / 0.6764 GB, free: 94.82 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/0.312, allocations: 386.3 kB / 0.6768 GB, free: 94.73 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002632/0.3123, allocations: 99.86 kB / 0.6769 GB, free: 94.73 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001574/0.3124, allocations: 225.9 kB / 0.6771 GB, free: 94.72 MB / 0.6355 GB Notification: Performance of SimCode: time 1.363e-06/0.3124, allocations: 0 / 0.6771 GB, free: 94.72 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03581/0.3482, allocations: 17.06 MB / 0.6938 GB, free: 92.82 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.307/7.655, allocations: 7.359 kB / 0.6938 GB, free: 92.82 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_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_L.fmu > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.573222879320383] Failed to read output from testmodel.py, exit status != 0: 7.744472335092723 7.756771221 7.737290487 Calling exit ...