Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.00089/0.00089, 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.0009627/0.0009627, allocations: 169.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.9029/0.9029, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7364/0.7364, allocations: 154.6 MB / 413.8 MB, free: 0.7969 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.6181 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.005e-05/2.192e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.00575/0.005772, allocations: 6.38 MB / 0.6243 GB, free: 7.207 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003714/0.009486, allocations: 3.004 MB / 0.6273 GB, free: 4.195 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004301/0.009916, allocations: 35.69 kB / 0.6273 GB, free: 4.16 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.00136/0.01128, allocations: 0.9479 MB / 0.6282 GB, free: 3.211 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0009673/0.01224, allocations: 0.5357 MB / 0.6288 GB, free: 2.672 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008001/0.01304, allocations: 434.8 kB / 0.6292 GB, free: 2.246 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.000927/0.01397, allocations: 1.255 MB / 0.6304 GB, free: 0.9844 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006045/0.01458, allocations: 0.5334 MB / 0.6309 GB, free: 456 kB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000618/0.01519, allocations: 0.6624 MB / 0.6316 GB, free: 15.78 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004492/0.01564, allocations: 482.6 kB / 0.632 GB, free: 15.31 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.527e-05/0.01571, allocations: 68 kB / 0.6321 GB, free: 15.24 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004874/0.0162, allocations: 351.1 kB / 0.6324 GB, free: 14.9 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0003424/0.01654, allocations: 331 kB / 0.6327 GB, free: 14.57 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002039/0.01674, allocations: 307.3 kB / 0.633 GB, free: 14.27 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0008574/0.0176, allocations: 1.254 MB / 0.6343 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.289e-06/0.0176, allocations: 0 / 0.6343 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.533e-06/0.01761, allocations: 4 kB / 0.6343 GB, free: 13.01 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.628e-06/0.01761, allocations: 0 / 0.6343 GB, free: 13.01 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001236/0.01885, allocations: 1.088 MB / 0.6353 GB, free: 11.89 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.0189, allocations: 12.03 kB / 0.6353 GB, free: 11.88 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.857e-05/0.01899, allocations: 122.7 kB / 0.6355 GB, free: 11.75 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007982/0.01979, allocations: 244.1 kB / 0.6357 GB, free: 11.51 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006275/0.02042, allocations: 0.5146 MB / 0.6362 GB, free: 10.97 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.978e-05/0.02045, allocations: 53.67 kB / 0.6362 GB, free: 10.92 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.955e-05/0.02052, allocations: 68.25 kB / 0.6363 GB, free: 10.85 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.02155, allocations: 1.336 MB / 0.6376 GB, free: 9.348 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.02157, allocations: 8.125 kB / 0.6376 GB, free: 9.34 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.102e-05/0.02162, allocations: 36.11 kB / 0.6377 GB, free: 9.305 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.92e-05/0.02172, allocations: 85.25 kB / 0.6377 GB, free: 9.223 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00075/0.02247, allocations: 0.7465 MB / 0.6385 GB, free: 8.473 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003178/0.02565, allocations: 4.62 MB / 0.643 GB, free: 3.684 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006682/0.02632, allocations: 0.5137 MB / 0.6435 GB, free: 3.16 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002736/0.02659, allocations: 289.5 kB / 0.6438 GB, free: 2.879 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.647e-05/0.02662, allocations: 4.5 kB / 0.6438 GB, free: 2.875 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.02664, allocations: 39.06 kB / 0.6438 GB, free: 2.828 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=47): time 2.695e-06/0.02664, allocations: 3.938 kB / 0.6438 GB, free: 2.824 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.002356/0.029, allocations: 1.689 MB / 0.6454 GB, free: 1.121 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.02904, allocations: 55.91 kB / 0.6455 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004521/0.02949, allocations: 0.5741 MB / 0.6461 GB, free: 480 kB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.856e-05/0.02952, allocations: 33.7 kB / 0.6461 GB, free: 440 kB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001908/0.02971, allocations: 424.1 kB / 0.6465 GB, free: 8 kB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002551/0.02997, allocations: 174.6 kB / 0.6467 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001258/0.03009, allocations: 126.6 kB / 0.6468 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.0302, allocations: 378.7 kB / 0.6471 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002655/0.03046, allocations: 269.8 kB / 0.6474 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003545/0.03082, allocations: 496.9 kB / 0.6479 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000679/0.03149, allocations: 0.8201 MB / 0.6487 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.0315, allocations: 0 / 0.6487 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001118/0.03262, allocations: 1.078 MB / 0.6497 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.03264, allocations: 11.94 kB / 0.6497 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.03265, allocations: 8 kB / 0.6497 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005099/0.03316, allocations: 275.3 kB / 0.65 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002631/0.03342, allocations: 123.8 kB / 0.6501 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004214/0.03764, allocations: 6.677 MB / 0.6566 GB, free: 4.914 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003704/0.03801, allocations: 39.95 kB / 0.6567 GB, free: 4.875 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.043e-05/0.03804, allocations: 28 kB / 0.6567 GB, free: 4.848 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 (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.0002921/0.03833, allocations: 254.6 kB / 0.657 GB, free: 4.59 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.764e-05/0.03841, allocations: 79.47 kB / 0.657 GB, free: 4.512 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009765/0.03939, allocations: 0.8745 MB / 0.6579 GB, free: 3.609 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.03939, allocations: 4 kB / 0.6579 GB, free: 3.605 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.0394, allocations: 7.938 kB / 0.6579 GB, free: 3.598 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.0394, allocations: 3.984 kB / 0.6579 GB, free: 3.594 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001639/0.04104, allocations: 1.608 MB / 0.6595 GB, free: 1.906 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.04105, allocations: 4 kB / 0.6595 GB, free: 1.902 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001422/0.04119, allocations: 59.89 kB / 0.6595 GB, free: 1.844 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004213/0.04161, allocations: 271.3 kB / 0.6598 GB, free: 1.566 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.313e-05/0.04163, allocations: 11.94 kB / 0.6598 GB, free: 1.555 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003924/0.04556, allocations: 6.679 MB / 0.6663 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.04556, allocations: 0 / 0.6663 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/0.04667, allocations: 0.9853 MB / 0.6673 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001946/0.04687, allocations: 111.5 kB / 0.6674 GB, free: 9.281 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.839e-05/0.04691, allocations: 12 kB / 0.6674 GB, free: 9.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002015/0.04711, allocations: 36.09 kB / 0.6674 GB, free: 9.234 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.84e-05/0.0472, allocations: 43.84 kB / 0.6675 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/0.04722, allocations: 20.06 kB / 0.6675 GB, free: 9.172 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002952/0.04752, allocations: 387.1 kB / 0.6679 GB, free: 8.797 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.04752, allocations: 0 / 0.6679 GB, free: 8.797 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006115/0.04813, allocations: 220 kB / 0.6681 GB, free: 8.582 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 (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.001093/0.04923, allocations: 1.534 MB / 0.6696 GB, free: 6.992 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001301/0.05053, allocations: 1.225 MB / 0.6708 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.05053, allocations: 0 / 0.6708 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006891/0.05122, allocations: 0.8658 MB / 0.6716 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006619/0.05188, allocations: 212.5 kB / 0.6718 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2708/0.3227, allocations: 6.359 MB / 0.678 GB, free: 94.47 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.323, allocations: 413 kB / 0.6784 GB, free: 94.38 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003584/0.3233, allocations: 119.9 kB / 0.6785 GB, free: 94.37 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002118/0.3236, allocations: 250.6 kB / 0.6788 GB, free: 94.37 MB / 0.6355 GB Notification: Performance of SimCode: time 1.603e-06/0.3236, allocations: 0 / 0.6788 GB, free: 94.37 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03742/0.361, allocations: 19.31 MB / 0.6976 GB, free: 92.23 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.128/7.489, allocations: 6.328 kB / 0.6976 GB, free: 92.22 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.241791392676532] Failed to read output from testmodel.py, exit status != 0: 7.579490952193737 7.589084345 7.569529762 Calling exit ...