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.0009873/0.0009873, 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.0009427/0.0009427, allocations: 206.6 kB / 22.24 MB, free: 3.582 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.9432/0.9432, allocations: 230.6 MB / 256 MB, free: 9.598 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.765/0.765, allocations: 203.8 MB / 0.5042 GB, free: 10.46 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.001026/0.001026, allocations: 65.39 kB / 0.7182 GB, free: 4.055 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4932/0.4942, allocations: 102 MB / 0.8178 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.006066/0.5003, allocations: 6.488 MB / 0.8241 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003731/0.504, allocations: 3.031 MB / 0.8271 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003801/0.5044, allocations: 36.16 kB / 0.8271 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001394/0.5058, allocations: 0.9632 MB / 0.8281 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0009552/0.5067, allocations: 0.5231 MB / 0.8286 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008652/0.5076, allocations: 430 kB / 0.829 GB, free: 9.863 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001229/0.5088, allocations: 1.22 MB / 0.8302 GB, free: 9.305 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007417/0.5096, allocations: 0.5269 MB / 0.8307 GB, free: 9.059 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008342/0.5104, allocations: 495.5 kB / 0.8312 GB, free: 8.855 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007579/0.5112, allocations: 0.5077 MB / 0.8317 GB, free: 8.672 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001414/0.5113, allocations: 67.22 kB / 0.8317 GB, free: 8.672 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006895/0.512, allocations: 347 kB / 0.8321 GB, free: 8.57 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003131/0.5123, allocations: 314.6 kB / 0.8324 GB, free: 8.438 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0004027/0.5127, allocations: 375.5 kB / 0.8327 GB, free: 8.25 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001708/0.5144, allocations: 1.228 MB / 0.8339 GB, free: 7.824 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.5144, allocations: 1.094 kB / 0.8339 GB, free: 7.824 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.615e-06/0.5144, allocations: 4 kB / 0.8339 GB, free: 7.82 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.529e-05/0.5145, allocations: 0 / 0.8339 GB, free: 7.82 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.002049/0.5165, allocations: 1.111 MB / 0.835 GB, free: 7.094 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.5166, allocations: 17.84 kB / 0.835 GB, free: 7.086 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001294/0.5167, allocations: 118.8 kB / 0.8351 GB, free: 7.004 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001145/0.5178, allocations: 243.4 kB / 0.8354 GB, free: 6.945 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008551/0.5187, allocations: 0.5178 MB / 0.8359 GB, free: 6.621 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.906e-05/0.5187, allocations: 48.52 kB / 0.8359 GB, free: 6.602 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.511e-05/0.5188, allocations: 64.95 kB / 0.836 GB, free: 6.578 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001666/0.5205, allocations: 1.342 MB / 0.8373 GB, free: 5.652 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.92e-05/0.5205, allocations: 2.625 kB / 0.8373 GB, free: 5.652 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.791e-05/0.5206, allocations: 43.03 kB / 0.8373 GB, free: 5.621 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000147/0.5207, allocations: 84.14 kB / 0.8374 GB, free: 5.609 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.5218, allocations: 0.751 MB / 0.8381 GB, free: 5.336 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003943/0.5257, allocations: 4.629 MB / 0.8427 GB, free: 1.363 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009562/0.5267, allocations: 0.5133 MB / 0.8432 GB, free: 1.094 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003588/0.5271, allocations: 286.2 kB / 0.8434 GB, free: 0.9492 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.471e-05/0.5271, allocations: 5.438 kB / 0.8434 GB, free: 0.9492 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.312e-05/0.5271, allocations: 43.48 kB / 0.8435 GB, free: 0.9023 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=47): time 3.637e-06/0.5271, allocations: 0 / 0.8435 GB, free: 0.9023 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.00327/0.5304, allocations: 1.682 MB / 0.8451 GB, free: 15.97 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/0.5305, allocations: 56.72 kB / 0.8452 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006303/0.5311, allocations: 0.5687 MB / 0.8457 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.837e-05/0.5311, allocations: 36.02 kB / 0.8458 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002258/0.5313, allocations: 433.2 kB / 0.8462 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/0.5315, allocations: 172.5 kB / 0.8464 GB, free: 14.99 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001513/0.5316, allocations: 128.1 kB / 0.8465 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.5318, allocations: 378 kB / 0.8468 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003083/0.5321, allocations: 270.9 kB / 0.8471 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003755/0.5324, allocations: 495.4 kB / 0.8476 GB, free: 14 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006802/0.5331, allocations: 0.8118 MB / 0.8484 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.5331, allocations: 1.375 kB / 0.8484 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001235/0.5344, allocations: 1.08 MB / 0.8494 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.5344, allocations: 8.25 kB / 0.8494 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.5344, allocations: 6.875 kB / 0.8494 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005329/0.5349, allocations: 273.8 kB / 0.8497 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002935/0.5352, allocations: 129.6 kB / 0.8498 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004301/0.5395, allocations: 6.683 MB / 0.8563 GB, free: 6.555 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004481/0.54, allocations: 39.34 kB / 0.8564 GB, free: 6.535 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.457e-05/0.54, allocations: 26.91 kB / 0.8564 GB, free: 6.531 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.0003196/0.5403, allocations: 263.3 kB / 0.8567 GB, free: 6.32 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.149e-05/0.5404, allocations: 71.55 kB / 0.8567 GB, free: 6.285 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009556/0.5413, allocations: 0.8832 MB / 0.8576 GB, free: 5.738 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.5413, allocations: 9.141 kB / 0.8576 GB, free: 5.734 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.5414, allocations: 3.625 kB / 0.8576 GB, free: 5.734 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.5414, allocations: 0 / 0.8576 GB, free: 5.734 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001709/0.5431, allocations: 1.61 MB / 0.8592 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.5431, allocations: 5.094 kB / 0.8592 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001468/0.5432, allocations: 63.38 kB / 0.8592 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004278/0.5436, allocations: 263 kB / 0.8595 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.572e-05/0.5437, allocations: 12.22 kB / 0.8595 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003919/0.5476, allocations: 6.68 MB / 0.866 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.5476, allocations: 1.781 kB / 0.866 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.5486, allocations: 0.9751 MB / 0.867 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002155/0.5488, allocations: 120.1 kB / 0.8671 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.528e-05/0.5489, allocations: 11.97 kB / 0.8671 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.5491, allocations: 28.91 kB / 0.8671 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.081e-05/0.5492, allocations: 43.89 kB / 0.8672 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-05/0.5492, allocations: 18.5 kB / 0.8672 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003622/0.5496, allocations: 386 kB / 0.8676 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5496, allocations: 0 / 0.8676 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000685/0.5503, allocations: 228.6 kB / 0.8678 GB, free: 13.41 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.001228/0.5515, allocations: 1.532 MB / 0.8693 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001361/0.5529, allocations: 1.223 MB / 0.8705 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.5529, allocations: 5.094 kB / 0.8705 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000722/0.5536, allocations: 0.8629 MB / 0.8713 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000659/0.5542, allocations: 230.3 kB / 0.8715 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00655/0.5608, allocations: 6.374 MB / 0.8778 GB, free: 6.008 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.5611, allocations: 415.5 kB / 0.8782 GB, free: 5.578 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003155/0.5614, allocations: 122 kB / 0.8783 GB, free: 5.457 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002093/0.5616, allocations: 251.4 kB / 0.8785 GB, free: 5.211 MB / 0.6511 GB Notification: Performance of SimCode: time 1.412e-06/0.5616, allocations: 0 / 0.8785 GB, free: 5.211 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03738/0.599, allocations: 19.23 MB / 0.8973 GB, free: 2.395 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.36/7.959, allocations: 17.33 kB / 0.8973 GB, free: 2.379 MB / 0.6667 GB " [Timeout remaining time 652] (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: 10.796858561225235] Failed to read output from testmodel.py, exit status != 0: 8.051830037031323 8.060733922 7.544404177 Calling exit ...