Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.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.001226/0.001226, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.00135/0.00135, allocations: 165.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.9285/0.9285, 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.7339/0.7339, allocations: 154.6 MB / 413.8 MB, free: 0.8008 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.Examples.GridDCLoad,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.739e-05/1.921e-05, allocations: 6.219 kB / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003422/0.003441, allocations: 3.028 MB / 0.621 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002305/0.005747, allocations: 1.862 MB / 0.6229 GB, free: 8.773 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001246/0.005871, allocations: 11.94 kB / 0.6229 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0006327/0.006504, allocations: 286.8 kB / 0.6231 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0004026/0.006906, allocations: 202.8 kB / 0.6233 GB, free: 8.281 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005293/0.007436, allocations: 258.2 kB / 0.6236 GB, free: 8.031 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003149/0.007751, allocations: 338.8 kB / 0.6239 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002974/0.008048, allocations: 145.1 kB / 0.624 GB, free: 7.551 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002471/0.008295, allocations: 187.5 kB / 0.6242 GB, free: 7.367 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002233/0.008518, allocations: 139.6 kB / 0.6243 GB, free: 7.23 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.783e-05/0.008546, allocations: 24 kB / 0.6244 GB, free: 7.207 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004321/0.008978, allocations: 383 kB / 0.6247 GB, free: 6.832 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 9.02e-05/0.009069, allocations: 91.72 kB / 0.6248 GB, free: 6.742 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.939e-05/0.009138, allocations: 83.77 kB / 0.6249 GB, free: 6.66 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0005674/0.009705, allocations: 0.5258 MB / 0.6254 GB, free: 6.133 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.00971, allocations: 0 / 0.6254 GB, free: 6.133 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.144e-06/0.009712, allocations: 0 / 0.6254 GB, free: 6.133 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.79e-06/0.009718, allocations: 0 / 0.6254 GB, free: 6.133 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0008012/0.01052, allocations: 0.4893 MB / 0.6259 GB, free: 5.613 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.01056, allocations: 8.031 kB / 0.6259 GB, free: 5.605 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.824e-05/0.01061, allocations: 62.72 kB / 0.626 GB, free: 5.535 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004556/0.01106, allocations: 112.6 kB / 0.6261 GB, free: 5.426 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002868/0.01135, allocations: 208.6 kB / 0.6263 GB, free: 5.199 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.01137, allocations: 16.88 kB / 0.6263 GB, free: 5.184 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.01139, allocations: 16.38 kB / 0.6263 GB, free: 5.168 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004224/0.01181, allocations: 401.1 kB / 0.6267 GB, free: 4.742 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.01182, allocations: 8.125 kB / 0.6267 GB, free: 4.734 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.219e-05/0.01185, allocations: 12.11 kB / 0.6267 GB, free: 4.723 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.685e-05/0.01188, allocations: 28.48 kB / 0.6267 GB, free: 4.695 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003208/0.0122, allocations: 285.8 kB / 0.627 GB, free: 4.418 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001402/0.01361, allocations: 1.276 MB / 0.6282 GB, free: 3.074 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003207/0.01393, allocations: 245.1 kB / 0.6285 GB, free: 2.816 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/0.01403, allocations: 97.67 kB / 0.6286 GB, free: 2.715 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 5.999e-05/0.01409, allocations: 11.98 kB / 0.6286 GB, free: 2.703 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.01412, allocations: 38.5 kB / 0.6286 GB, free: 2.656 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=16): time 1.923e-06/0.01412, allocations: 0 / 0.6286 GB, free: 2.656 MB / 0.5886 GB Notification: Performance of matching and sorting (n=23): time 0.001563/0.01569, allocations: 0.8931 MB / 0.6295 GB, free: 1.746 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.01572, allocations: 77.2 kB / 0.6296 GB, free: 1.652 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003282/0.01605, allocations: 224.6 kB / 0.6298 GB, free: 1.422 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.01607, allocations: 33.7 kB / 0.6298 GB, free: 1.383 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.654e-05/0.01615, allocations: 172.5 kB / 0.63 GB, free: 1.211 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.476e-05/0.01619, allocations: 87.27 kB / 0.6301 GB, free: 1.125 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.072e-05/0.01626, allocations: 57.66 kB / 0.6301 GB, free: 1.062 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.07e-05/0.01634, allocations: 342.8 kB / 0.6304 GB, free: 0.7188 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/0.01647, allocations: 127.9 kB / 0.6306 GB, free: 0.5938 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/0.01663, allocations: 210 kB / 0.6308 GB, free: 364 kB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003287/0.01696, allocations: 365.2 kB / 0.6311 GB, free: 15.96 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.01696, allocations: 0 / 0.6311 GB, free: 15.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005539/0.01752, allocations: 0.5055 MB / 0.6316 GB, free: 15.44 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.01754, allocations: 8 kB / 0.6316 GB, free: 15.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.01755, allocations: 7.984 kB / 0.6316 GB, free: 15.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003287/0.01788, allocations: 151.6 kB / 0.6318 GB, free: 15.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.01803, allocations: 55.91 kB / 0.6318 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002045/0.02007, allocations: 3.976 MB / 0.6357 GB, free: 10.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.02018, allocations: 15.98 kB / 0.6357 GB, free: 10.94 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/0.0202, allocations: 12 kB / 0.6357 GB, free: 10.93 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 28 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001294/0.02033, allocations: 166.1 kB / 0.6359 GB, free: 10.75 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/0.02037, allocations: 27.8 kB / 0.6359 GB, free: 10.73 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005535/0.02092, allocations: 463.7 kB / 0.6364 GB, free: 10.25 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-06/0.02093, allocations: 11.94 kB / 0.6364 GB, free: 10.24 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.02093, allocations: 0 / 0.6364 GB, free: 10.24 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.02094, allocations: 3.984 kB / 0.6364 GB, free: 10.24 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/0.02208, allocations: 0.9442 MB / 0.6373 GB, free: 9.207 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.02208, allocations: 4 kB / 0.6373 GB, free: 9.203 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.819e-05/0.02215, allocations: 32.17 kB / 0.6373 GB, free: 9.172 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002252/0.02237, allocations: 147.3 kB / 0.6375 GB, free: 9.016 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.02239, allocations: 8 kB / 0.6375 GB, free: 9.008 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001748/0.02414, allocations: 3.937 MB / 0.6413 GB, free: 4.789 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.02414, allocations: 0 / 0.6413 GB, free: 4.789 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006044/0.02474, allocations: 0.6215 MB / 0.6419 GB, free: 4.113 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.796e-05/0.02484, allocations: 52.08 kB / 0.642 GB, free: 4.062 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.02486, allocations: 12 kB / 0.642 GB, free: 4.051 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.02499, allocations: 15.92 kB / 0.642 GB, free: 4.035 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.442e-05/0.02505, allocations: 27.95 kB / 0.642 GB, free: 4.008 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.02506, allocations: 12 kB / 0.642 GB, free: 3.996 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001269/0.02519, allocations: 157.5 kB / 0.6422 GB, free: 3.844 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7e-08/0.02519, allocations: 0 / 0.6422 GB, free: 3.844 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004736/0.02566, allocations: 99.8 kB / 0.6423 GB, free: 3.746 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 17 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001202/0.02687, allocations: 1.194 MB / 0.6435 GB, free: 2.488 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007868/0.02765, allocations: 0.5794 MB / 0.644 GB, free: 1.883 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.02766, allocations: 3.938 kB / 0.644 GB, free: 1.879 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003188/0.02797, allocations: 385.1 kB / 0.6444 GB, free: 1.477 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003947/0.02837, allocations: 48.64 kB / 0.6444 GB, free: 1.434 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002898/0.03127, allocations: 3.305 MB / 0.6477 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001338/0.0314, allocations: 173.2 kB / 0.6478 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001226/0.03152, allocations: 66.17 kB / 0.6479 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.683e-05/0.03161, allocations: 72.47 kB / 0.648 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of SimCode: time 7.82e-07/0.03161, allocations: 0 / 0.648 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02482/0.05643, allocations: 7.479 MB / 0.6553 GB, free: 6.328 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.132/8.188, allocations: 3.984 kB / 0.6553 GB, free: 6.324 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad_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_Examples_GridDCLoad.fmu > IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.065903150476515] Failed to read output from testmodel.py, exit status != 0: 8.28274255618453 8.293122877 8.281593192 Calling exit ...