Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008227/0.0008227, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001133/0.001133, allocations: 217.7 kB / 22.26 MB, free: 3.703 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.9136/0.9136, allocations: 230.6 MB / 256 MB, free: 9.816 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.7807/0.7807, allocations: 203.8 MB / 0.5042 GB, free: 10.72 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.Examples.GridDCLoad,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Examples_GridDCLoad",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.001201/0.001201, allocations: 60.5 kB / 0.7182 GB, free: 4.383 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4787/0.4799, allocations: 102 MB / 0.8178 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003788/0.4837, allocations: 3.18 MB / 0.8209 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002307/0.486, allocations: 2.062 MB / 0.823 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.4861, allocations: 7.031 kB / 0.823 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006561/0.4867, allocations: 298 kB / 0.8233 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003922/0.4871, allocations: 200.1 kB / 0.8234 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005511/0.4877, allocations: 244.7 kB / 0.8237 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003668/0.4881, allocations: 325 kB / 0.824 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003176/0.4884, allocations: 155.6 kB / 0.8241 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002296/0.4886, allocations: 133.4 kB / 0.8243 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002705/0.4889, allocations: 160.4 kB / 0.8244 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.933e-05/0.4889, allocations: 24.77 kB / 0.8244 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005357/0.4894, allocations: 424.8 kB / 0.8248 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.626e-05/0.4895, allocations: 85.88 kB / 0.8249 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.873e-05/0.4896, allocations: 122.1 kB / 0.825 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005967/0.4902, allocations: 0.4887 MB / 0.8255 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.4902, allocations: 5.156 kB / 0.8255 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.204e-06/0.4902, allocations: 0 / 0.8255 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.306e-06/0.4903, allocations: 0.6094 kB / 0.8255 GB, free: 12.57 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0007287/0.491, allocations: 0.4946 MB / 0.826 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.491, allocations: 11.05 kB / 0.826 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.908e-05/0.4911, allocations: 55.16 kB / 0.8261 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005418/0.4916, allocations: 107.9 kB / 0.8262 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003351/0.492, allocations: 224.3 kB / 0.8264 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.492, allocations: 10.78 kB / 0.8264 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.292e-05/0.492, allocations: 25.45 kB / 0.8264 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004515/0.4925, allocations: 350 kB / 0.8268 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.4925, allocations: 9.422 kB / 0.8268 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.397e-05/0.4925, allocations: 11.2 kB / 0.8268 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.902e-05/0.4925, allocations: 25.45 kB / 0.8268 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003475/0.4929, allocations: 290.4 kB / 0.8271 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001612/0.4945, allocations: 1.623 MB / 0.8287 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003753/0.4949, allocations: 238.4 kB / 0.8289 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001472/0.495, allocations: 102.9 kB / 0.829 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.59e-05/0.4951, allocations: 13.56 kB / 0.829 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.4951, allocations: 41.48 kB / 0.829 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.763e-06/0.4951, allocations: 0 / 0.829 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.001901/0.497, allocations: 0.8947 MB / 0.8299 GB, free: 9.703 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.862e-05/0.4971, allocations: 91.55 kB / 0.83 GB, free: 9.598 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/0.4973, allocations: 208.3 kB / 0.8302 GB, free: 9.461 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.4973, allocations: 31.3 kB / 0.8302 GB, free: 9.426 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.4974, allocations: 171.5 kB / 0.8304 GB, free: 9.277 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.181e-05/0.4975, allocations: 87.66 kB / 0.8305 GB, free: 9.207 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.607e-05/0.4976, allocations: 64.52 kB / 0.8305 GB, free: 9.168 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.15e-05/0.4977, allocations: 329.9 kB / 0.8309 GB, free: 8.848 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000193/0.4979, allocations: 130.9 kB / 0.831 GB, free: 8.801 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002364/0.4981, allocations: 212.2 kB / 0.8312 GB, free: 8.656 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004941/0.4986, allocations: 371 kB / 0.8315 GB, free: 8.43 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.4986, allocations: 4.562 kB / 0.8315 GB, free: 8.426 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006451/0.4992, allocations: 0.5035 MB / 0.832 GB, free: 8.188 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.4993, allocations: 9.25 kB / 0.832 GB, free: 8.188 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.4993, allocations: 2.516 kB / 0.832 GB, free: 8.188 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003798/0.4996, allocations: 155.4 kB / 0.8322 GB, free: 8.121 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001914/0.4998, allocations: 64.5 kB / 0.8323 GB, free: 8.109 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002622/0.5025, allocations: 3.987 MB / 0.8361 GB, free: 4.352 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/0.5026, allocations: 22.16 kB / 0.8362 GB, free: 4.344 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.378e-05/0.5027, allocations: 11.34 kB / 0.8362 GB, free: 4.344 MB / 0.6198 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.0002064/0.5029, allocations: 172.8 kB / 0.8363 GB, free: 4.191 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.912e-05/0.5029, allocations: 19.2 kB / 0.8364 GB, free: 4.184 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007729/0.5037, allocations: 484.8 kB / 0.8368 GB, free: 3.941 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.5037, allocations: 4.5 kB / 0.8368 GB, free: 3.941 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.5037, allocations: 1.062 kB / 0.8368 GB, free: 3.941 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.5037, allocations: 1.219 kB / 0.8368 GB, free: 3.941 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/0.505, allocations: 0.9696 MB / 0.8378 GB, free: 3.336 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.505, allocations: 2.031 kB / 0.8378 GB, free: 3.336 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.288e-05/0.5051, allocations: 34.58 kB / 0.8378 GB, free: 3.332 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002677/0.5053, allocations: 144.3 kB / 0.8379 GB, free: 3.27 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.5054, allocations: 8.484 kB / 0.838 GB, free: 3.266 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002361/0.5077, allocations: 3.961 MB / 0.8418 GB, free: 15.51 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.5077, allocations: 2.188 kB / 0.8418 GB, free: 15.51 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006072/0.5083, allocations: 0.6123 MB / 0.8424 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001292/0.5085, allocations: 53.05 kB / 0.8425 GB, free: 15.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.551e-05/0.5085, allocations: 13 kB / 0.8425 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.5086, allocations: 18.89 kB / 0.8425 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.294e-05/0.5087, allocations: 22.34 kB / 0.8425 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2e-05/0.5087, allocations: 12.97 kB / 0.8425 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001507/0.5088, allocations: 159.1 kB / 0.8427 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.5088, allocations: 1.188 kB / 0.8427 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005068/0.5093, allocations: 93.95 kB / 0.8428 GB, free: 14.91 MB / 0.6355 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.001101/0.5104, allocations: 1.204 MB / 0.844 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007231/0.5112, allocations: 0.5541 MB / 0.8445 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.5112, allocations: 1.031 kB / 0.8445 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003367/0.5115, allocations: 390.9 kB / 0.8449 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003613/0.5119, allocations: 46.64 kB / 0.8449 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003525/0.5154, allocations: 3.338 MB / 0.8482 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005601/0.516, allocations: 0.7826 MB / 0.8489 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001405/0.5161, allocations: 60.75 kB / 0.849 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.998e-05/0.5162, allocations: 71.38 kB / 0.8491 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of SimCode: time 8.51e-07/0.5162, allocations: 3.938 kB / 0.8491 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02647/0.5427, allocations: 7.12 MB / 0.856 GB, free: 6.73 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.206/8.748, allocations: 5.719 kB / 0.856 GB, free: 6.73 MB / 0.6355 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Examples_GridDCLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.584640819113702] Failed to read output from testmodel.py, exit status != 0: 8.837734611937776 8.852235914 8.359487981000001 Calling exit ...