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.001044/0.001044, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001309/0.001309, allocations: 208.6 kB / 22.25 MB, free: 3.59 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.9394/0.9394, allocations: 230.6 MB / 256 MB, free: 9.609 MB / 202.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.7599/0.7599, allocations: 203.5 MB / 0.5039 GB, free: 10.73 MB / 410.7 MB " [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: 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.0009899/0.0009899, allocations: 66.61 kB / 0.7178 GB, free: 4.445 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5056/0.5066, allocations: 102 MB / 0.8174 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004027/0.5106, allocations: 3.051 MB / 0.8203 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002357/0.513, allocations: 1.889 MB / 0.8222 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001413/0.5131, allocations: 8.594 kB / 0.8222 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007213/0.5139, allocations: 285.8 kB / 0.8225 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000404/0.5143, allocations: 202.6 kB / 0.8227 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005394/0.5148, allocations: 253.4 kB / 0.8229 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003853/0.5152, allocations: 313.1 kB / 0.8232 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002809/0.5155, allocations: 161.5 kB / 0.8234 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001996/0.5157, allocations: 142.1 kB / 0.8235 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002503/0.5159, allocations: 147.6 kB / 0.8236 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.053e-05/0.5159, allocations: 20.09 kB / 0.8237 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005078/0.5165, allocations: 376.2 kB / 0.824 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.331e-05/0.5165, allocations: 83.95 kB / 0.8241 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.084e-05/0.5166, allocations: 107.6 kB / 0.8242 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000627/0.5173, allocations: 491.9 kB / 0.8247 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.5173, allocations: 4 kB / 0.8247 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.414e-06/0.5173, allocations: 1.25 kB / 0.8247 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.5173, allocations: 3.938 kB / 0.8247 GB, free: 12.97 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.0007583/0.518, allocations: 0.4963 MB / 0.8252 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.5181, allocations: 9.25 kB / 0.8252 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.171e-05/0.5181, allocations: 64.73 kB / 0.8252 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004793/0.5186, allocations: 105.8 kB / 0.8253 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002686/0.5189, allocations: 212.1 kB / 0.8255 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.5189, allocations: 16.53 kB / 0.8255 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.5189, allocations: 17.34 kB / 0.8256 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004375/0.5194, allocations: 408.5 kB / 0.8259 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.5194, allocations: 1.281 kB / 0.826 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.229e-05/0.5194, allocations: 10.7 kB / 0.826 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.49e-05/0.5194, allocations: 26.05 kB / 0.826 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000361/0.5198, allocations: 292.4 kB / 0.8263 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00143/0.5212, allocations: 1.271 MB / 0.8275 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003062/0.5215, allocations: 240.6 kB / 0.8277 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.5216, allocations: 112.3 kB / 0.8278 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.349e-05/0.5217, allocations: 13.23 kB / 0.8279 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.5217, allocations: 34.92 kB / 0.8279 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.403e-06/0.5217, allocations: 0 / 0.8279 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.002349/0.5241, allocations: 0.9005 MB / 0.8288 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/0.5241, allocations: 89.8 kB / 0.8289 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002753/0.5244, allocations: 215.5 kB / 0.8291 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.5244, allocations: 32.02 kB / 0.8291 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.5245, allocations: 171.8 kB / 0.8293 GB, free: 9.996 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.062e-05/0.5246, allocations: 77.28 kB / 0.8293 GB, free: 9.938 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001368/0.5248, allocations: 67.08 kB / 0.8294 GB, free: 9.895 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.5249, allocations: 330.5 kB / 0.8297 GB, free: 9.574 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003194/0.5252, allocations: 131.2 kB / 0.8298 GB, free: 9.527 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003761/0.5256, allocations: 213.3 kB / 0.83 GB, free: 9.383 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006736/0.5263, allocations: 369.7 kB / 0.8304 GB, free: 9.16 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.5263, allocations: 0.6562 kB / 0.8304 GB, free: 9.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008264/0.5271, allocations: 0.5047 MB / 0.8309 GB, free: 8.922 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.5271, allocations: 5.938 kB / 0.8309 GB, free: 8.922 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.5271, allocations: 3 kB / 0.8309 GB, free: 8.922 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003167/0.5274, allocations: 152 kB / 0.831 GB, free: 8.859 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/0.5276, allocations: 61.84 kB / 0.8311 GB, free: 8.852 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002083/0.5297, allocations: 3.978 MB / 0.835 GB, free: 5.102 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.5298, allocations: 26.78 kB / 0.835 GB, free: 5.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.5298, allocations: 13.92 kB / 0.835 GB, free: 5.086 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.0001502/0.53, allocations: 170.2 kB / 0.8352 GB, free: 4.938 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.056e-05/0.53, allocations: 28.16 kB / 0.8352 GB, free: 4.922 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006573/0.5307, allocations: 461.7 kB / 0.8356 GB, free: 4.703 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.5307, allocations: 4.062 kB / 0.8356 GB, free: 4.703 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.5307, allocations: 1.781 kB / 0.8357 GB, free: 4.703 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.5307, allocations: 0.8906 kB / 0.8357 GB, free: 4.703 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.5317, allocations: 0.9365 MB / 0.8366 GB, free: 4.109 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.5317, allocations: 3.109 kB / 0.8366 GB, free: 4.109 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.796e-05/0.5318, allocations: 38.05 kB / 0.8366 GB, free: 4.102 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002359/0.532, allocations: 144.3 kB / 0.8367 GB, free: 4.039 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.532, allocations: 12.97 kB / 0.8368 GB, free: 4.031 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001733/0.5338, allocations: 3.937 MB / 0.8406 GB, free: 308 kB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.5338, allocations: 6.266 kB / 0.8406 GB, free: 304 kB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000534/0.5343, allocations: 0.6255 MB / 0.8412 GB, free: 15.85 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.75e-05/0.5344, allocations: 53.2 kB / 0.8413 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.5344, allocations: 12.91 kB / 0.8413 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.5345, allocations: 14.78 kB / 0.8413 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.426e-05/0.5346, allocations: 24.58 kB / 0.8413 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.5346, allocations: 16.41 kB / 0.8413 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001091/0.5347, allocations: 163.4 kB / 0.8415 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.5347, allocations: 1.25 kB / 0.8415 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003567/0.5351, allocations: 89.53 kB / 0.8416 GB, free: 15.68 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.0007871/0.5358, allocations: 1.204 MB / 0.8428 GB, free: 14.69 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006564/0.5365, allocations: 0.5625 MB / 0.8433 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5365, allocations: 0 / 0.8433 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002918/0.5368, allocations: 392.8 kB / 0.8437 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003396/0.5371, allocations: 43.52 kB / 0.8437 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002877/0.54, allocations: 3.323 MB / 0.847 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001505/0.5402, allocations: 175.9 kB / 0.8471 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001287/0.5403, allocations: 59.28 kB / 0.8472 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.937e-05/0.5404, allocations: 71.33 kB / 0.8473 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of SimCode: time 7.62e-07/0.5404, allocations: 0 / 0.8473 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02402/0.5644, allocations: 7.341 MB / 0.8544 GB, free: 7.91 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.776/8.34, allocations: 11.23 kB / 0.8544 GB, free: 7.906 MB / 0.6355 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: 11.23630146915093] Failed to read output from testmodel.py, exit status != 0: 8.432271177880466 8.444524568 7.924394328 Calling exit ...