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.0007864/0.0007864, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.001/0.001, allocations: 208.1 kB / 22.24 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.9351/0.9351, allocations: 230.6 MB / 256 MB, free: 9.629 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.7834/0.7834, allocations: 203.8 MB / 0.5042 GB, free: 10.47 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_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: 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.001388/0.001388, allocations: 63 kB / 0.7182 GB, free: 4.027 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4807/0.4821, allocations: 102 MB / 0.8178 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.005419/0.4875, allocations: 5.911 MB / 0.8236 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003852/0.4914, allocations: 3.139 MB / 0.8266 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003916/0.4918, allocations: 38.31 kB / 0.8267 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001446/0.4932, allocations: 0.9261 MB / 0.8276 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0009666/0.4942, allocations: 492.4 kB / 0.828 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009951/0.4952, allocations: 493.2 kB / 0.8285 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001056/0.4963, allocations: 1.097 MB / 0.8296 GB, free: 9.703 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006696/0.4969, allocations: 0.505 MB / 0.8301 GB, free: 9.465 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006539/0.4976, allocations: 454.4 kB / 0.8305 GB, free: 9.277 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006697/0.4982, allocations: 470.4 kB / 0.831 GB, free: 9.105 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001252/0.4984, allocations: 58.88 kB / 0.831 GB, free: 9.105 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007925/0.4992, allocations: 446.2 kB / 0.8314 GB, free: 8.961 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002578/0.4994, allocations: 295.1 kB / 0.8317 GB, free: 8.84 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002916/0.4997, allocations: 328.6 kB / 0.832 GB, free: 8.672 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00129/0.501, allocations: 1.191 MB / 0.8332 GB, free: 8.258 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.501, allocations: 4 kB / 0.8332 GB, free: 8.254 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.295e-06/0.501, allocations: 0 / 0.8332 GB, free: 8.254 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.041e-05/0.501, allocations: 1.188 kB / 0.8332 GB, free: 8.254 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.00141/0.5024, allocations: 0.9983 MB / 0.8342 GB, free: 7.559 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.5025, allocations: 9.188 kB / 0.8342 GB, free: 7.559 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001075/0.5026, allocations: 121.6 kB / 0.8343 GB, free: 7.473 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001024/0.5036, allocations: 218.2 kB / 0.8345 GB, free: 7.422 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007644/0.5044, allocations: 0.5178 MB / 0.835 GB, free: 7.098 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.821e-05/0.5044, allocations: 47.22 kB / 0.8351 GB, free: 7.074 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.688e-05/0.5045, allocations: 61.59 kB / 0.8351 GB, free: 7.055 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/0.5058, allocations: 1.135 MB / 0.8362 GB, free: 6.336 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.892e-05/0.5059, allocations: 12.11 kB / 0.8362 GB, free: 6.328 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.618e-05/0.5059, allocations: 24.62 kB / 0.8363 GB, free: 6.312 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-05/0.506, allocations: 70.42 kB / 0.8363 GB, free: 6.305 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008449/0.5068, allocations: 0.6921 MB / 0.837 GB, free: 6.055 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003395/0.5102, allocations: 4.509 MB / 0.8414 GB, free: 2.238 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005748/0.5108, allocations: 421.4 kB / 0.8418 GB, free: 2.008 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005278/0.5113, allocations: 383.6 kB / 0.8422 GB, free: 1.836 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.969e-05/0.5114, allocations: 4.156 kB / 0.8422 GB, free: 1.836 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.5114, allocations: 37.22 kB / 0.8422 GB, free: 1.793 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=41): time 3.927e-06/0.5114, allocations: 3.984 kB / 0.8422 GB, free: 1.789 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42): time 0.002795/0.5142, allocations: 1.717 MB / 0.8439 GB, free: 0.8398 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/0.5142, allocations: 55.91 kB / 0.844 GB, free: 0.7773 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003878/0.5146, allocations: 467.4 kB / 0.8444 GB, free: 500 kB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.5146, allocations: 32.02 kB / 0.8444 GB, free: 464 kB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000182/0.5148, allocations: 395 kB / 0.8448 GB, free: 108 kB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.5149, allocations: 157.7 kB / 0.845 GB, free: 15.97 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/0.515, allocations: 120.5 kB / 0.8451 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.5151, allocations: 364.1 kB / 0.8454 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002523/0.5154, allocations: 238.1 kB / 0.8456 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003734/0.5158, allocations: 464.3 kB / 0.8461 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006562/0.5164, allocations: 0.7382 MB / 0.8468 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.5164, allocations: 2.594 kB / 0.8468 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001221/0.5177, allocations: 1.032 MB / 0.8478 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.5177, allocations: 10.41 kB / 0.8478 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.5177, allocations: 15.58 kB / 0.8478 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005857/0.5183, allocations: 316.1 kB / 0.8481 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001888/0.5185, allocations: 99.31 kB / 0.8482 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004743/0.5232, allocations: 7.015 MB / 0.8551 GB, free: 7.434 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003691/0.5236, allocations: 34.73 kB / 0.8551 GB, free: 7.414 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.493e-05/0.5236, allocations: 25.16 kB / 0.8552 GB, free: 7.41 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 (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.0003098/0.5239, allocations: 240.8 kB / 0.8554 GB, free: 7.219 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.073e-05/0.524, allocations: 73.2 kB / 0.8555 GB, free: 7.176 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001017/0.525, allocations: 0.8817 MB / 0.8563 GB, free: 6.633 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.525, allocations: 3.281 kB / 0.8563 GB, free: 6.633 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.525, allocations: 8.875 kB / 0.8563 GB, free: 6.629 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.525, allocations: 7.922 kB / 0.8563 GB, free: 6.621 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001701/0.5267, allocations: 1.577 MB / 0.8579 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.5267, allocations: 2.344 kB / 0.8579 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.821e-05/0.5268, allocations: 45.55 kB / 0.8579 GB, free: 5.566 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005056/0.5273, allocations: 307.3 kB / 0.8582 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/0.5273, allocations: 7.406 kB / 0.8582 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004463/0.5318, allocations: 7.003 MB / 0.8651 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.5318, allocations: 9.406 kB / 0.8651 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001182/0.533, allocations: 0.969 MB / 0.866 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002147/0.5332, allocations: 108.3 kB / 0.8661 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.722e-05/0.5332, allocations: 11.53 kB / 0.8661 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.5334, allocations: 22.3 kB / 0.8661 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.945e-05/0.5335, allocations: 49.89 kB / 0.8662 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.163e-05/0.5335, allocations: 13.02 kB / 0.8662 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002559/0.5338, allocations: 305.6 kB / 0.8665 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4e-08/0.5338, allocations: 0 / 0.8665 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006497/0.5344, allocations: 194.2 kB / 0.8667 GB, free: 14.17 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 (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.001229/0.5356, allocations: 1.54 MB / 0.8682 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001312/0.537, allocations: 1.153 MB / 0.8693 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.537, allocations: 0 / 0.8693 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006959/0.5377, allocations: 0.8319 MB / 0.8701 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006549/0.5383, allocations: 199.6 kB / 0.8703 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006108/0.5444, allocations: 5.833 MB / 0.876 GB, free: 7.344 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.5448, allocations: 394.6 kB / 0.8764 GB, free: 7.109 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002678/0.545, allocations: 101 kB / 0.8765 GB, free: 7.059 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000186/0.5452, allocations: 222 kB / 0.8767 GB, free: 6.867 MB / 0.6511 GB Notification: Performance of SimCode: time 1.502e-06/0.5452, allocations: 1.125 kB / 0.8767 GB, free: 6.867 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03576/0.581, allocations: 16.85 MB / 0.8931 GB, free: 6.551 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.32/7.901, allocations: 6.328 kB / 0.8932 GB, free: 6.547 MB / 0.6667 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.740228676702827] Failed to read output from testmodel.py, exit status != 0: 7.9900580467656255 8.000039759 7.497049621 Calling exit ...