Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.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.0008206/0.0008206, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0008691/0.0008691, allocations: 210.9 kB / 22.24 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.9448/0.9448, allocations: 230.6 MB / 256 MB, free: 9.574 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.7841/0.7841, allocations: 203.5 MB / 0.5039 GB, free: 10.69 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.DC.Loads.Examples.Resistor,fileNamePrefix="IDEAS_IDEAS_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="IDEAS_IDEAS_Electrical_DC_Loads_Examples_Resistor",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.0009691/0.0009691, allocations: 66.45 kB / 0.7178 GB, free: 4.383 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5003/0.5012, allocations: 102 MB / 0.8174 GB, free: 1.207 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Loads.Examples.Resistor): time 0.003944/0.5052, allocations: 3.777 MB / 0.8211 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002182/0.5073, allocations: 1.693 MB / 0.8227 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001585/0.5075, allocations: 15.19 kB / 0.8227 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0009266/0.5084, allocations: 0.496 MB / 0.8232 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004351/0.5089, allocations: 220.7 kB / 0.8234 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004198/0.5093, allocations: 218.7 kB / 0.8236 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004544/0.5097, allocations: 475.5 kB / 0.8241 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000462/0.5102, allocations: 283.5 kB / 0.8243 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002178/0.5104, allocations: 201.3 kB / 0.8245 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003718/0.5108, allocations: 212.9 kB / 0.8247 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.746e-05/0.5108, allocations: 27.56 kB / 0.8248 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003158/0.5111, allocations: 222.4 kB / 0.825 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002696/0.5114, allocations: 135.3 kB / 0.8251 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001168/0.5115, allocations: 141.3 kB / 0.8252 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006232/0.5122, allocations: 0.5097 MB / 0.8257 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.5122, allocations: 2.047 kB / 0.8257 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.134e-06/0.5122, allocations: 0 / 0.8257 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.468e-06/0.5122, allocations: 0 / 0.8257 GB, free: 12.28 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0008846/0.5131, allocations: 0.5615 MB / 0.8263 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/0.5131, allocations: 9.938 kB / 0.8263 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.657e-05/0.5132, allocations: 65.72 kB / 0.8264 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005919/0.5138, allocations: 137.9 kB / 0.8265 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003087/0.5141, allocations: 234.3 kB / 0.8267 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.5141, allocations: 24.16 kB / 0.8267 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.159e-05/0.5141, allocations: 30.61 kB / 0.8268 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005724/0.5147, allocations: 0.5792 MB / 0.8273 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.5147, allocations: 5.406 kB / 0.8273 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.814e-05/0.5147, allocations: 19.66 kB / 0.8274 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.32e-05/0.5148, allocations: 27.73 kB / 0.8274 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003926/0.5152, allocations: 320.4 kB / 0.8277 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001523/0.5167, allocations: 1.588 MB / 0.8292 GB, free: 9.77 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003045/0.517, allocations: 160.4 kB / 0.8294 GB, free: 9.699 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001726/0.5172, allocations: 98.58 kB / 0.8295 GB, free: 9.664 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.5172, allocations: 9.172 kB / 0.8295 GB, free: 9.656 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.5172, allocations: 38.47 kB / 0.8295 GB, free: 9.613 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 1.804e-06/0.5172, allocations: 4.094 kB / 0.8295 GB, free: 9.609 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0004445/0.5177, allocations: 229.3 kB / 0.8298 GB, free: 9.504 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.5177, allocations: 53.12 kB / 0.8298 GB, free: 9.441 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002905/0.518, allocations: 280 kB / 0.8301 GB, free: 9.281 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.518, allocations: 30.77 kB / 0.8301 GB, free: 9.246 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.5181, allocations: 209.2 kB / 0.8303 GB, free: 9.07 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.62e-05/0.5181, allocations: 47.48 kB / 0.8304 GB, free: 9.035 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.018e-05/0.5182, allocations: 50.77 kB / 0.8304 GB, free: 8.996 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.254e-05/0.5183, allocations: 342.7 kB / 0.8307 GB, free: 8.664 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.696e-05/0.5184, allocations: 56.05 kB / 0.8308 GB, free: 8.648 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.5186, allocations: 147.1 kB / 0.8309 GB, free: 8.52 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002466/0.5188, allocations: 215.5 kB / 0.8311 GB, free: 8.355 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.5188, allocations: 1.031 kB / 0.8311 GB, free: 8.355 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003567/0.5192, allocations: 264.4 kB / 0.8314 GB, free: 8.23 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.5192, allocations: 9.594 kB / 0.8314 GB, free: 8.227 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.5192, allocations: 3.281 kB / 0.8314 GB, free: 8.227 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001448/0.5193, allocations: 27.8 kB / 0.8314 GB, free: 8.215 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.5195, allocations: 47.55 kB / 0.8315 GB, free: 8.211 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000869/0.5203, allocations: 1.316 MB / 0.8327 GB, free: 6.922 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.5205, allocations: 32.75 kB / 0.8328 GB, free: 6.898 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.5205, allocations: 8.281 kB / 0.8328 GB, free: 6.898 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001447/0.5206, allocations: 170.6 kB / 0.833 GB, free: 6.754 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.475e-05/0.5207, allocations: 23.7 kB / 0.833 GB, free: 6.742 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.386e-05/0.5207, allocations: 27.56 kB / 0.833 GB, free: 6.719 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.5207, allocations: 1.969 kB / 0.833 GB, free: 6.719 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.5207, allocations: 1.312 kB / 0.833 GB, free: 6.719 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.5207, allocations: 4.5 kB / 0.833 GB, free: 6.715 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007103/0.5214, allocations: 0.6063 MB / 0.8336 GB, free: 6.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.5214, allocations: 2.375 kB / 0.8336 GB, free: 6.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.647e-05/0.5215, allocations: 29.34 kB / 0.8336 GB, free: 6.262 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.275e-05/0.5215, allocations: 29.34 kB / 0.8337 GB, free: 6.246 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.5216, allocations: 2.125 kB / 0.8337 GB, free: 6.246 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007676/0.5223, allocations: 1.312 MB / 0.8349 GB, free: 4.957 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.5223, allocations: 2.281 kB / 0.8349 GB, free: 4.957 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000252/0.5226, allocations: 315.3 kB / 0.8352 GB, free: 4.711 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.413e-05/0.5226, allocations: 37.17 kB / 0.8353 GB, free: 4.691 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.5227, allocations: 11.83 kB / 0.8353 GB, free: 4.684 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.604e-05/0.5228, allocations: 9.328 kB / 0.8353 GB, free: 4.684 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.001e-05/0.5228, allocations: 27.27 kB / 0.8353 GB, free: 4.668 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.5228, allocations: 4.531 kB / 0.8353 GB, free: 4.668 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001405/0.5229, allocations: 190 kB / 0.8355 GB, free: 4.555 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.5229, allocations: 0 / 0.8355 GB, free: 4.555 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003187/0.5233, allocations: 80.5 kB / 0.8356 GB, free: 4.535 MB / 0.6198 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004592/0.5237, allocations: 0.8414 MB / 0.8364 GB, free: 3.758 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003877/0.5241, allocations: 282.9 kB / 0.8367 GB, free: 3.582 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.5241, allocations: 0 / 0.8367 GB, free: 3.582 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001296/0.5242, allocations: 175.2 kB / 0.8368 GB, free: 3.453 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.5246, allocations: 59.12 kB / 0.8369 GB, free: 3.434 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002283/0.5269, allocations: 2.732 MB / 0.8396 GB, free: 1.441 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001501/0.527, allocations: 178.2 kB / 0.8397 GB, free: 1.355 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000123/0.5271, allocations: 40.75 kB / 0.8398 GB, free: 1.352 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.819e-05/0.5272, allocations: 87.47 kB / 0.8399 GB, free: 1.285 MB / 0.6198 GB Notification: Performance of SimCode: time 7.21e-07/0.5272, allocations: 1.156 kB / 0.8399 GB, free: 1.285 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02334/0.5506, allocations: 6.126 MB / 0.8458 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.762/7.313, allocations: 7.312 kB / 0.8459 GB, free: 14.85 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Electrical_DC_Loads_Examples_Resistor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Electrical_DC_Loads_Examples_Resistor.fmu > IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.205074173863977] Failed to read output from testmodel.py, exit status != 0: 7.395149199757725 7.410629184 6.895371564 Calling exit ...