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.000839/0.000839, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0009022/0.0009022, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9474/0.9474, allocations: 177.2 MB / 202.8 MB, free: 5.734 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.7384/0.7384, allocations: 154.6 MB / 413.7 MB, free: 0.8281 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,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: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 0.618 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.186e-05/2.401e-05, allocations: 3.5 kB / 0.618 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.009431/0.009455, allocations: 10.17 MB / 0.628 GB, free: 3.496 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.008767/0.01822, allocations: 8.39 MB / 0.6362 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00122/0.01944, allocations: 79.31 kB / 0.6362 GB, free: 11 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002317/0.02176, allocations: 1.668 MB / 0.6379 GB, free: 9.332 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.004988/0.02675, allocations: 1.62 MB / 0.6395 GB, free: 7.711 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00166/0.02841, allocations: 0.6814 MB / 0.6401 GB, free: 7.031 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002762/0.03117, allocations: 2.363 MB / 0.6424 GB, free: 4.656 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001593/0.03276, allocations: 1.149 MB / 0.6435 GB, free: 3.461 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001832/0.03459, allocations: 1.391 MB / 0.6449 GB, free: 2.066 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001282/0.03588, allocations: 0.892 MB / 0.6458 GB, free: 1.172 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0002455/0.03612, allocations: 144 kB / 0.6459 GB, free: 1.031 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001481/0.0376, allocations: 0.7443 MB / 0.6466 GB, free: 292 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0004355/0.03804, allocations: 0.6075 MB / 0.6472 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0006459/0.03868, allocations: 0.5962 MB / 0.6478 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002685/0.04137, allocations: 2.617 MB / 0.6504 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.04137, allocations: 3.938 kB / 0.6504 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.823e-06/0.04138, allocations: 0 / 0.6504 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.893e-05/0.04146, allocations: 4 kB / 0.6504 GB, free: 12.44 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.00359/0.04505, allocations: 1.968 MB / 0.6523 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.576e-05/0.0451, allocations: 9.469 kB / 0.6523 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001934/0.04529, allocations: 194 kB / 0.6525 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005814/0.05111, allocations: 2.063 MB / 0.6545 GB, free: 8.16 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002264/0.05337, allocations: 1.137 MB / 0.6556 GB, free: 6.973 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.798e-05/0.05344, allocations: 86.69 kB / 0.6557 GB, free: 6.887 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002239/0.05366, allocations: 124.3 kB / 0.6558 GB, free: 6.766 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003667/0.05733, allocations: 2.889 MB / 0.6586 GB, free: 3.629 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.531e-05/0.05737, allocations: 4 kB / 0.6586 GB, free: 3.625 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/0.05747, allocations: 55.92 kB / 0.6587 GB, free: 3.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002005/0.05767, allocations: 134.1 kB / 0.6588 GB, free: 3.438 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004139/0.06181, allocations: 2.533 MB / 0.6613 GB, free: 0.8945 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008091/0.0699, allocations: 7.631 MB / 0.6688 GB, free: 9.094 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003129/0.07303, allocations: 1.838 MB / 0.6705 GB, free: 7.242 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001429/0.07446, allocations: 0.9452 MB / 0.6715 GB, free: 6.297 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.618e-05/0.0745, allocations: 8.438 kB / 0.6715 GB, free: 6.289 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.07453, allocations: 43.06 kB / 0.6715 GB, free: 6.238 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=53): time 3.246e-06/0.07454, allocations: 0 / 0.6715 GB, free: 6.238 MB / 0.6355 GB Notification: Performance of matching and sorting (n=81): time 0.3074/0.3819, allocations: 8.642 MB / 0.68 GB, free: 96.54 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/0.3819, allocations: 62.03 kB / 0.68 GB, free: 96.48 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001281/0.3832, allocations: 1.109 MB / 0.6811 GB, free: 96.04 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001779/0.3834, allocations: 43.42 kB / 0.6811 GB, free: 95.99 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003013/0.3837, allocations: 0.7489 MB / 0.6819 GB, free: 95.46 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001498/0.3838, allocations: 285.5 kB / 0.6821 GB, free: 95.28 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002205/0.3841, allocations: 200.2 kB / 0.6823 GB, free: 95.2 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.166e-05/0.3841, allocations: 351 kB / 0.6827 GB, free: 94.87 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00142/0.3855, allocations: 1.072 MB / 0.6837 GB, free: 94.6 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001424/0.387, allocations: 1.303 MB / 0.685 GB, free: 94.06 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002829/0.3898, allocations: 2.385 MB / 0.6873 GB, free: 93.16 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.3898, allocations: 3.031 kB / 0.6873 GB, free: 93.16 MB / 0.6355 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.004427/0.3942, allocations: 3.247 MB / 0.6905 GB, free: 92.14 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.285e-05/0.3943, allocations: 8.844 kB / 0.6905 GB, free: 92.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/0.3943, allocations: 10.88 kB / 0.6905 GB, free: 92.14 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001451/0.3957, allocations: 0.791 MB / 0.6913 GB, free: 91.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008965/0.3966, allocations: 420.1 kB / 0.6917 GB, free: 91.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007984/0.4046, allocations: 14.97 MB / 0.7063 GB, free: 79.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00145/0.4061, allocations: 290.5 kB / 0.7066 GB, free: 79.72 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-05/0.4061, allocations: 52.39 kB / 0.7066 GB, free: 79.71 MB / 0.6355 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.0006721/0.4068, allocations: 396.6 kB / 0.707 GB, free: 79.46 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001528/0.4069, allocations: 157.4 kB / 0.7072 GB, free: 79.38 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004448/0.4114, allocations: 3.177 MB / 0.7103 GB, free: 78.4 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.4114, allocations: 8.156 kB / 0.7103 GB, free: 78.4 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/0.4114, allocations: 7.875 kB / 0.7103 GB, free: 78.4 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.4114, allocations: 8.344 kB / 0.7103 GB, free: 78.4 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006874/0.4183, allocations: 4.613 MB / 0.7148 GB, free: 76.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/0.4183, allocations: 5.594 kB / 0.7148 GB, free: 76.75 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008742/0.4192, allocations: 358.3 kB / 0.7151 GB, free: 76.73 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001386/0.4206, allocations: 0.694 MB / 0.7158 GB, free: 76.52 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.498e-05/0.4206, allocations: 33.08 kB / 0.7159 GB, free: 76.51 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008576/0.4292, allocations: 14.6 MB / 0.7301 GB, free: 64.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.4292, allocations: 4.188 kB / 0.7301 GB, free: 64.46 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005013/0.4342, allocations: 3.016 MB / 0.7331 GB, free: 63.41 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000632/0.4349, allocations: 315.5 kB / 0.7334 GB, free: 63.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.435, allocations: 19.67 kB / 0.7334 GB, free: 63.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009869/0.4359, allocations: 291.9 kB / 0.7337 GB, free: 63.23 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002743/0.4362, allocations: 89.66 kB / 0.7337 GB, free: 63.21 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.095e-05/0.4363, allocations: 41.06 kB / 0.7338 GB, free: 63.2 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0007949/0.4371, allocations: 0.7366 MB / 0.7345 GB, free: 62.91 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4371, allocations: 0 / 0.7345 GB, free: 62.91 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001276/0.4384, allocations: 432.4 kB / 0.7349 GB, free: 62.87 MB / 0.6355 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.004973/0.4433, allocations: 3.588 MB / 0.7384 GB, free: 61.28 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.005178/0.4485, allocations: 3.511 MB / 0.7418 GB, free: 59.7 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.4485, allocations: 5.719 kB / 0.7418 GB, free: 59.7 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002944/0.4515, allocations: 2.313 MB / 0.7441 GB, free: 58.43 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001845/0.4533, allocations: 0.5215 MB / 0.7446 GB, free: 58.27 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0233/0.4766, allocations: 15.84 MB / 0.7601 GB, free: 50.88 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006143/0.4772, allocations: 0.8007 MB / 0.7609 GB, free: 50.42 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001157/0.4784, allocations: 377.9 kB / 0.7612 GB, free: 50.22 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005071/0.4789, allocations: 0.5996 MB / 0.7618 GB, free: 49.7 MB / 0.6355 GB Notification: Performance of SimCode: time 1.402e-06/0.4789, allocations: 0 / 0.7618 GB, free: 49.7 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0609/0.5398, allocations: 45.61 MB / 0.8064 GB, free: 6.414 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.08/8.62, allocations: 14.92 kB / 0.8064 GB, free: 6.402 MB / 0.6355 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.468349596485496] Failed to read output from testmodel.py, exit status != 0: 8.724317213520408 8.731242028 8.68811984 Calling exit ...