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.0006758/0.0006758, 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.0007597/0.0007597, allocations: 169.9 kB / 22.46 MB, free: 2.102 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.8948/0.8948, 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.7479/0.7479, allocations: 154.6 MB / 413.8 MB, free: 0.8047 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 2.344e-06/2.344e-06, allocations: 0 / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.82e-05/3.055e-05, allocations: 5.672 kB / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003875/0.003906, allocations: 3.025 MB / 0.621 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002388/0.006294, allocations: 1.862 MB / 0.6229 GB, free: 8.785 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.00643, allocations: 11.94 kB / 0.6229 GB, free: 8.773 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0006628/0.007093, allocations: 282.8 kB / 0.6231 GB, free: 8.496 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0004079/0.007501, allocations: 206.8 kB / 0.6233 GB, free: 8.293 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005181/0.008019, allocations: 255 kB / 0.6236 GB, free: 8.043 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003414/0.008361, allocations: 342.8 kB / 0.6239 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002826/0.008643, allocations: 145.1 kB / 0.624 GB, free: 7.559 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002405/0.008884, allocations: 187.5 kB / 0.6242 GB, free: 7.375 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002243/0.009108, allocations: 135.6 kB / 0.6243 GB, free: 7.242 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.909e-05/0.009137, allocations: 27.92 kB / 0.6244 GB, free: 7.215 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006246/0.009762, allocations: 379.1 kB / 0.6247 GB, free: 6.844 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.009864, allocations: 87.73 kB / 0.6248 GB, free: 6.758 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 7.528e-05/0.00994, allocations: 87.77 kB / 0.6249 GB, free: 6.672 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0005445/0.01048, allocations: 0.5219 MB / 0.6254 GB, free: 6.148 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.01049, allocations: 0 / 0.6254 GB, free: 6.148 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.843e-06/0.01049, allocations: 0 / 0.6254 GB, free: 6.148 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.0105, allocations: 0 / 0.6254 GB, free: 6.148 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.000752/0.01125, allocations: 0.4971 MB / 0.6259 GB, free: 5.621 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.01129, allocations: 8.031 kB / 0.6259 GB, free: 5.613 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.495e-05/0.01135, allocations: 58.72 kB / 0.626 GB, free: 5.547 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004673/0.01182, allocations: 112.6 kB / 0.6261 GB, free: 5.438 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002718/0.01209, allocations: 208.7 kB / 0.6263 GB, free: 5.211 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.0121, allocations: 12.88 kB / 0.6263 GB, free: 5.199 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.01213, allocations: 16.38 kB / 0.6263 GB, free: 5.184 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004341/0.01256, allocations: 405 kB / 0.6267 GB, free: 4.754 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.01257, allocations: 192 / 0.6267 GB, free: 4.754 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.208e-05/0.01259, allocations: 8.125 kB / 0.6267 GB, free: 4.746 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.54e-05/0.01263, allocations: 32.47 kB / 0.6267 GB, free: 4.715 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000305/0.01293, allocations: 289.8 kB / 0.627 GB, free: 4.434 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001311/0.01425, allocations: 1.28 MB / 0.6282 GB, free: 3.086 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003034/0.01455, allocations: 245 kB / 0.6285 GB, free: 2.828 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.965e-05/0.01465, allocations: 97.67 kB / 0.6286 GB, free: 2.727 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 5.644e-05/0.01471, allocations: 11.98 kB / 0.6286 GB, free: 2.715 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.01473, allocations: 34.56 kB / 0.6286 GB, free: 2.672 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=16): time 1.724e-06/0.01473, allocations: 96 / 0.6286 GB, free: 2.672 MB / 0.5886 GB Notification: Performance of matching and sorting (n=23): time 0.001529/0.01626, allocations: 0.9046 MB / 0.6295 GB, free: 1.75 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.0163, allocations: 81.11 kB / 0.6296 GB, free: 1.652 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/0.01646, allocations: 220.7 kB / 0.6298 GB, free: 1.426 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.01648, allocations: 29.7 kB / 0.6298 GB, free: 1.391 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.532e-05/0.01656, allocations: 168.5 kB / 0.63 GB, free: 1.223 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.331e-05/0.0166, allocations: 83.27 kB / 0.6301 GB, free: 1.141 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.888e-05/0.01667, allocations: 65.66 kB / 0.6301 GB, free: 1.07 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.279e-05/0.01675, allocations: 334.8 kB / 0.6304 GB, free: 0.7344 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.01688, allocations: 127.9 kB / 0.6306 GB, free: 0.6094 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001612/0.01705, allocations: 209.9 kB / 0.6308 GB, free: 380 kB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003189/0.01736, allocations: 361.2 kB / 0.6311 GB, free: 15.98 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.01737, allocations: 0 / 0.6311 GB, free: 15.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007067/0.01807, allocations: 0.5094 MB / 0.6316 GB, free: 15.46 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.01809, allocations: 8 kB / 0.6316 GB, free: 15.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.0181, allocations: 7.984 kB / 0.6316 GB, free: 15.44 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003265/0.01843, allocations: 159.6 kB / 0.6318 GB, free: 15.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.01858, allocations: 55.91 kB / 0.6318 GB, free: 15.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001919/0.0205, allocations: 3.972 MB / 0.6357 GB, free: 10.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.02061, allocations: 19.92 kB / 0.6357 GB, free: 10.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.02063, allocations: 8 kB / 0.6357 GB, free: 10.94 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.0001308/0.02076, allocations: 170 kB / 0.6359 GB, free: 10.76 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.07e-05/0.0208, allocations: 23.8 kB / 0.6359 GB, free: 10.74 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005421/0.02134, allocations: 471.7 kB / 0.6364 GB, free: 10.26 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.02135, allocations: 7.938 kB / 0.6364 GB, free: 10.25 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.02135, allocations: 0 / 0.6364 GB, free: 10.25 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.02135, allocations: 7.922 kB / 0.6364 GB, free: 10.24 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009683/0.02232, allocations: 0.9386 MB / 0.6373 GB, free: 9.219 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.02233, allocations: 4 kB / 0.6373 GB, free: 9.215 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.097e-05/0.0224, allocations: 35.92 kB / 0.6373 GB, free: 9.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002159/0.02261, allocations: 147.5 kB / 0.6375 GB, free: 9.023 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.02263, allocations: 4 kB / 0.6375 GB, free: 9.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001814/0.02444, allocations: 3.937 MB / 0.6413 GB, free: 4.801 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.02444, allocations: 4 kB / 0.6413 GB, free: 4.797 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004719/0.02491, allocations: 0.6116 MB / 0.6419 GB, free: 4.129 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.806e-05/0.02498, allocations: 51.83 kB / 0.642 GB, free: 4.078 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.025, allocations: 8 kB / 0.642 GB, free: 4.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.02512, allocations: 23.86 kB / 0.642 GB, free: 4.047 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-05/0.02516, allocations: 36.02 kB / 0.642 GB, free: 4.012 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.02517, allocations: 8 kB / 0.642 GB, free: 4.004 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.818e-05/0.02527, allocations: 157.5 kB / 0.6422 GB, free: 3.852 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6e-08/0.02527, allocations: 0 / 0.6422 GB, free: 3.852 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003522/0.02562, allocations: 95.86 kB / 0.6423 GB, free: 3.758 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.0007722/0.02639, allocations: 1.194 MB / 0.6435 GB, free: 2.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006179/0.02701, allocations: 0.5789 MB / 0.644 GB, free: 1.895 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.02701, allocations: 0.625 kB / 0.644 GB, free: 1.895 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002789/0.02729, allocations: 389.3 kB / 0.6444 GB, free: 1.488 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/0.02765, allocations: 48.73 kB / 0.6444 GB, free: 1.445 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003255/0.03091, allocations: 3.309 MB / 0.6477 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001492/0.03106, allocations: 177.2 kB / 0.6478 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001359/0.03119, allocations: 58.25 kB / 0.6479 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.745e-05/0.03128, allocations: 72.47 kB / 0.648 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of SimCode: time 1.173e-06/0.03128, allocations: 0 / 0.648 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02601/0.05729, allocations: 7.477 MB / 0.6553 GB, free: 6.344 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.77/7.827, allocations: 16.91 kB / 0.6553 GB, free: 6.332 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Electrical_AC_OnePhase_Examples_GridDCLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 10.621926387771964] Failed to read output from testmodel.py, exit status != 0: 7.9223462557420135 7.93239016 7.91979479 Calling exit ...