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.0009004/0.0009004, 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.0009688/0.0009688, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.936/0.936, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.7311/0.7311, allocations: 154.6 MB / 413.8 MB, free: 0.8125 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 2.024e-06/2.024e-06, allocations: 3.938 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.403e-05/1.605e-05, allocations: 5.562 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.005219/0.005235, allocations: 6.373 MB / 0.6243 GB, free: 7.277 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00279/0.008025, allocations: 3.008 MB / 0.6273 GB, free: 4.258 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002206/0.008246, allocations: 39.62 kB / 0.6273 GB, free: 4.219 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.00127/0.009516, allocations: 0.9477 MB / 0.6282 GB, free: 3.27 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0005767/0.01009, allocations: 0.5318 MB / 0.6288 GB, free: 2.734 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000512/0.0106, allocations: 442 kB / 0.6292 GB, free: 2.305 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0007261/0.01133, allocations: 1.263 MB / 0.6304 GB, free: 1.035 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005214/0.01185, allocations: 0.5217 MB / 0.6309 GB, free: 0.5078 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005084/0.01236, allocations: 0.6701 MB / 0.6316 GB, free: 15.84 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003991/0.01276, allocations: 474.7 kB / 0.632 GB, free: 15.37 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.116e-05/0.01282, allocations: 68 kB / 0.6321 GB, free: 15.3 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003145/0.01314, allocations: 355.1 kB / 0.6324 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001878/0.01332, allocations: 327 kB / 0.6327 GB, free: 14.64 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001975/0.01352, allocations: 311.2 kB / 0.633 GB, free: 14.33 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007736/0.01429, allocations: 1.242 MB / 0.6343 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.0143, allocations: 4 kB / 0.6343 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd: time 9.42e-07/0.0143, allocations: 0 / 0.6343 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.337e-06/0.01431, allocations: 0 / 0.6343 GB, free: 13.08 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.001263/0.01557, allocations: 1.106 MB / 0.6353 GB, free: 11.95 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.01561, allocations: 8.031 kB / 0.6353 GB, free: 11.94 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.736e-05/0.01571, allocations: 118.7 kB / 0.6355 GB, free: 11.81 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008086/0.01652, allocations: 252 kB / 0.6357 GB, free: 11.57 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000619/0.01714, allocations: 0.5146 MB / 0.6362 GB, free: 11.02 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.075e-05/0.01717, allocations: 45.62 kB / 0.6362 GB, free: 10.98 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.733e-05/0.01724, allocations: 72.31 kB / 0.6363 GB, free: 10.91 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.01827, allocations: 1.332 MB / 0.6376 GB, free: 9.41 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.39e-05/0.01829, allocations: 8.125 kB / 0.6376 GB, free: 9.402 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.396e-05/0.01834, allocations: 32.12 kB / 0.6377 GB, free: 9.371 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.179e-05/0.01843, allocations: 85.25 kB / 0.6377 GB, free: 9.289 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007399/0.01917, allocations: 0.7504 MB / 0.6385 GB, free: 8.535 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002945/0.02212, allocations: 4.624 MB / 0.643 GB, free: 3.742 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006111/0.02273, allocations: 0.5058 MB / 0.6435 GB, free: 3.227 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00027/0.023, allocations: 286.2 kB / 0.6437 GB, free: 2.945 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.02302, allocations: 4.5 kB / 0.6438 GB, free: 2.941 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.02305, allocations: 54.98 kB / 0.6438 GB, free: 2.879 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=47): time 1.553e-06/0.02305, allocations: 0 / 0.6438 GB, free: 2.879 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.002216/0.02526, allocations: 1.678 MB / 0.6454 GB, free: 1.188 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/0.0253, allocations: 55.91 kB / 0.6455 GB, free: 1.117 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004011/0.0257, allocations: 0.5702 MB / 0.6461 GB, free: 0.5391 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.02572, allocations: 33.7 kB / 0.6461 GB, free: 0.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/0.0259, allocations: 424.1 kB / 0.6465 GB, free: 80 kB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.448e-05/0.02599, allocations: 182.4 kB / 0.6467 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.02611, allocations: 126.6 kB / 0.6468 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.02623, allocations: 378.7 kB / 0.6471 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002806/0.02651, allocations: 273.8 kB / 0.6474 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003893/0.0269, allocations: 496.9 kB / 0.6479 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007118/0.02761, allocations: 0.8085 MB / 0.6487 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.02761, allocations: 8 kB / 0.6487 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001328/0.02894, allocations: 1.07 MB / 0.6497 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.02896, allocations: 11.94 kB / 0.6497 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.02897, allocations: 8.781 kB / 0.6497 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005039/0.02947, allocations: 283.1 kB / 0.65 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002448/0.02972, allocations: 123.8 kB / 0.6501 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004167/0.03388, allocations: 6.681 MB / 0.6567 GB, free: 4.973 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000259/0.03414, allocations: 35.97 kB / 0.6567 GB, free: 4.938 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.272e-05/0.03418, allocations: 28 kB / 0.6567 GB, free: 4.91 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.0002126/0.03439, allocations: 258.5 kB / 0.657 GB, free: 4.648 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.426e-05/0.03445, allocations: 79.47 kB / 0.657 GB, free: 4.57 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009345/0.03539, allocations: 0.8745 MB / 0.6579 GB, free: 3.668 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.03539, allocations: 8 kB / 0.6579 GB, free: 3.66 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.0354, allocations: 11.92 kB / 0.6579 GB, free: 3.648 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.0354, allocations: 0 / 0.6579 GB, free: 3.648 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00156/0.03696, allocations: 1.6 MB / 0.6595 GB, free: 1.969 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.03696, allocations: 0 / 0.6595 GB, free: 1.969 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001302/0.03709, allocations: 67.88 kB / 0.6595 GB, free: 1.902 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004041/0.0375, allocations: 267.3 kB / 0.6598 GB, free: 1.629 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.209e-05/0.03752, allocations: 15.94 kB / 0.6598 GB, free: 1.613 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003893/0.04141, allocations: 6.672 MB / 0.6663 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.04142, allocations: 3.938 kB / 0.6663 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009347/0.04235, allocations: 0.9855 MB / 0.6673 GB, free: 9.453 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001501/0.0425, allocations: 111.5 kB / 0.6674 GB, free: 9.344 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.968e-05/0.04254, allocations: 12 kB / 0.6674 GB, free: 9.332 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001796/0.04272, allocations: 27.91 kB / 0.6674 GB, free: 9.305 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.623e-05/0.04279, allocations: 51.8 kB / 0.6675 GB, free: 9.254 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.89e-05/0.04281, allocations: 16 kB / 0.6675 GB, free: 9.238 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000268/0.04307, allocations: 383 kB / 0.6679 GB, free: 8.867 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.04307, allocations: 4 kB / 0.6679 GB, free: 8.863 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004752/0.04355, allocations: 224 kB / 0.6681 GB, free: 8.645 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.001206/0.04476, allocations: 1.53 MB / 0.6696 GB, free: 7.059 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001113/0.04587, allocations: 1.232 MB / 0.6708 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.04587, allocations: 4 kB / 0.6708 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006398/0.04651, allocations: 0.8618 MB / 0.6716 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000605/0.04712, allocations: 214.4 kB / 0.6718 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2483/0.2955, allocations: 6.354 MB / 0.678 GB, free: 94.17 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.2958, allocations: 418.6 kB / 0.6784 GB, free: 94.07 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003843/0.2961, allocations: 118.7 kB / 0.6785 GB, free: 94.07 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002232/0.2964, allocations: 249.2 kB / 0.6788 GB, free: 94.07 MB / 0.6355 GB Notification: Performance of SimCode: time 1.513e-06/0.2964, allocations: 1.656 kB / 0.6788 GB, free: 94.07 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03307/0.3294, allocations: 19.3 MB / 0.6976 GB, free: 91.93 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.344/7.673, allocations: 6.609 kB / 0.6976 GB, free: 91.92 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.5247354330495] Failed to read output from testmodel.py, exit status != 0: 7.7643590196967125 7.776277963 7.76028113 Calling exit ...