Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.001139/0.001139, allocations: 109.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.00142/0.00142, allocations: 213.7 kB / 22.25 MB, free: 3.711 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.9145/0.9145, allocations: 230.6 MB / 256 MB, free: 9.805 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.7865/0.7865, allocations: 203.8 MB / 0.5042 GB, free: 10.73 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_R,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",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.001323/0.001323, allocations: 60 kB / 0.7182 GB, free: 4.352 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.46/0.4613, allocations: 102 MB / 0.8179 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.006312/0.4676, allocations: 7.008 MB / 0.8247 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004345/0.472, allocations: 3.193 MB / 0.8278 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006607/0.4726, allocations: 38.97 kB / 0.8279 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001566/0.4742, allocations: 0.9915 MB / 0.8288 GB, free: 9.828 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001165/0.4753, allocations: 0.5222 MB / 0.8293 GB, free: 9.512 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00105/0.4764, allocations: 437 kB / 0.8298 GB, free: 9.293 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00133/0.4777, allocations: 1.221 MB / 0.831 GB, free: 8.734 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008471/0.4786, allocations: 0.527 MB / 0.8315 GB, free: 8.492 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007712/0.4793, allocations: 487.6 kB / 0.8319 GB, free: 8.293 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007895/0.4801, allocations: 0.5546 MB / 0.8325 GB, free: 8.062 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.000114/0.4802, allocations: 66.94 kB / 0.8325 GB, free: 8.062 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007426/0.481, allocations: 389.2 kB / 0.8329 GB, free: 7.945 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003065/0.4813, allocations: 313 kB / 0.8332 GB, free: 7.812 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003906/0.4817, allocations: 447.5 kB / 0.8336 GB, free: 7.555 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001509/0.4832, allocations: 1.223 MB / 0.8348 GB, free: 7.125 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.4832, allocations: 1.156 kB / 0.8348 GB, free: 7.125 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.534e-06/0.4832, allocations: 0.7031 kB / 0.8348 GB, free: 7.125 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.046e-05/0.4832, allocations: 0 / 0.8348 GB, free: 7.125 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001698/0.4849, allocations: 1.119 MB / 0.8359 GB, free: 6.391 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.485, allocations: 9.281 kB / 0.8359 GB, free: 6.391 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001213/0.4851, allocations: 114.8 kB / 0.836 GB, free: 6.312 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009692/0.4861, allocations: 243 kB / 0.8363 GB, free: 6.254 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007618/0.4868, allocations: 0.5169 MB / 0.8368 GB, free: 5.93 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.169e-05/0.4869, allocations: 55.27 kB / 0.8368 GB, free: 5.902 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.662e-05/0.4869, allocations: 67.19 kB / 0.8369 GB, free: 5.879 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/0.4882, allocations: 1.084 MB / 0.838 GB, free: 5.262 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.344e-05/0.4882, allocations: 7.031 kB / 0.838 GB, free: 5.258 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.122e-05/0.4883, allocations: 34.8 kB / 0.838 GB, free: 5.234 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001341/0.4884, allocations: 82.94 kB / 0.8381 GB, free: 5.223 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009543/0.4894, allocations: 0.7538 MB / 0.8388 GB, free: 4.949 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004049/0.4934, allocations: 5.803 MB / 0.8445 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007954/0.4942, allocations: 0.512 MB / 0.845 GB, free: 15.33 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003394/0.4946, allocations: 289.5 kB / 0.8453 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.685e-05/0.4946, allocations: 10.34 kB / 0.8453 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.4946, allocations: 38.22 kB / 0.8453 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=47): time 2.375e-06/0.4946, allocations: 0 / 0.8453 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of matching and sorting (n=48): time 0.00271/0.4974, allocations: 1.681 MB / 0.8469 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.4974, allocations: 56.53 kB / 0.847 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006223/0.498, allocations: 0.5585 MB / 0.8475 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.734e-05/0.498, allocations: 39.83 kB / 0.8476 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002293/0.4983, allocations: 425 kB / 0.848 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/0.4984, allocations: 177.1 kB / 0.8481 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001481/0.4985, allocations: 127.5 kB / 0.8483 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.4987, allocations: 382.2 kB / 0.8486 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003025/0.499, allocations: 275 kB / 0.8489 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003827/0.4994, allocations: 492.5 kB / 0.8494 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007215/0.5001, allocations: 0.8141 MB / 0.8502 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.5001, allocations: 1.312 kB / 0.8502 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001301/0.5014, allocations: 1.077 MB / 0.8512 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.5014, allocations: 12.44 kB / 0.8512 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.5014, allocations: 6.875 kB / 0.8512 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005293/0.502, allocations: 280 kB / 0.8515 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002918/0.5023, allocations: 125.8 kB / 0.8516 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004488/0.5067, allocations: 6.724 MB / 0.8582 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005754/0.5073, allocations: 43.08 kB / 0.8582 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.926e-05/0.5074, allocations: 31.38 kB / 0.8583 GB, free: 4.691 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 (67): * Single equations (assignments): 63 * 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 {(2,6,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.000364/0.5077, allocations: 254.4 kB / 0.8585 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.908e-05/0.5078, allocations: 75.66 kB / 0.8586 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001036/0.5088, allocations: 0.8793 MB / 0.8594 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.5088, allocations: 4.156 kB / 0.8594 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.5089, allocations: 3.844 kB / 0.8594 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.5089, allocations: 0 / 0.8594 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001825/0.5107, allocations: 1.69 MB / 0.8611 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.5107, allocations: 6.469 kB / 0.8611 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/0.5108, allocations: 63.45 kB / 0.8612 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004415/0.5113, allocations: 266 kB / 0.8614 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.582e-05/0.5113, allocations: 15.69 kB / 0.8614 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00393/0.5152, allocations: 6.716 MB / 0.868 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.5152, allocations: 2.188 kB / 0.868 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/0.5163, allocations: 0.9785 MB / 0.8689 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002235/0.5165, allocations: 121 kB / 0.8691 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.595e-05/0.5166, allocations: 11.28 kB / 0.8691 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002051/0.5168, allocations: 33.22 kB / 0.8691 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.19e-05/0.5169, allocations: 50.59 kB / 0.8691 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/0.5169, allocations: 10.28 kB / 0.8692 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003056/0.5172, allocations: 385.7 kB / 0.8695 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.31e-07/0.5172, allocations: 0 / 0.8695 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006351/0.5178, allocations: 229.2 kB / 0.8697 GB, free: 11.43 MB / 0.6511 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001185/0.519, allocations: 1.528 MB / 0.8712 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001341/0.5204, allocations: 1.227 MB / 0.8724 GB, free: 9.414 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.5204, allocations: 0 / 0.8724 GB, free: 9.414 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000705/0.5211, allocations: 0.8713 MB / 0.8733 GB, free: 8.727 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006946/0.5218, allocations: 226.2 kB / 0.8735 GB, free: 8.609 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006627/0.5284, allocations: 6.358 MB / 0.8797 GB, free: 4.234 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004563/0.5288, allocations: 1.009 MB / 0.8807 GB, free: 3.199 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003426/0.5292, allocations: 134 kB / 0.8808 GB, free: 3.066 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000229/0.5294, allocations: 247.4 kB / 0.8811 GB, free: 2.824 MB / 0.6511 GB Notification: Performance of SimCode: time 9.41e-07/0.5294, allocations: 0 / 0.8811 GB, free: 2.824 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03659/0.566, allocations: 18.05 MB / 0.8987 GB, free: 1.09 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.924/8.49, allocations: 13.66 kB / 0.8987 GB, free: 1.082 MB / 0.6667 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.307677864097059] Failed to read output from testmodel.py, exit status != 0: 8.576701091835275 8.592291125000001 8.106279106 Calling exit ...