Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008896/0.0008896, allocations: 105.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.00103/0.00103, allocations: 208.1 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 1.01/1.01, allocations: 230.6 MB / 256 MB, free: 9.613 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.8224/0.8224, allocations: 203.8 MB / 0.5042 GB, free: 10.48 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.DC.Loads.Examples.Resistor,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="IDEAS_dev_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.0008851/0.0008851, allocations: 62.47 kB / 0.7181 GB, free: 4.062 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4945/0.4953, allocations: 102 MB / 0.8178 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Loads.Examples.Resistor): time 0.003671/0.499, allocations: 3.79 MB / 0.8215 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001766/0.5008, allocations: 1.692 MB / 0.8231 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001139/0.5009, allocations: 11.16 kB / 0.8231 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0008322/0.5017, allocations: 0.5013 MB / 0.8236 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000326/0.502, allocations: 222.3 kB / 0.8238 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002843/0.5023, allocations: 216.7 kB / 0.824 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003783/0.5027, allocations: 478.2 kB / 0.8245 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004149/0.5031, allocations: 279.6 kB / 0.8248 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001632/0.5033, allocations: 202 kB / 0.825 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000291/0.5036, allocations: 215.9 kB / 0.8252 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.352e-05/0.5036, allocations: 32.12 kB / 0.8252 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002455/0.5039, allocations: 214 kB / 0.8254 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.504, allocations: 132.7 kB / 0.8255 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.5041, allocations: 142 kB / 0.8257 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005124/0.5046, allocations: 0.5135 MB / 0.8262 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.5046, allocations: 0 / 0.8262 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.943e-06/0.5046, allocations: 0 / 0.8262 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.337e-06/0.5046, allocations: 4.781 kB / 0.8262 GB, free: 12.09 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.0007835/0.5054, allocations: 0.5603 MB / 0.8267 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.5055, allocations: 11.11 kB / 0.8267 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.103e-05/0.5055, allocations: 65.42 kB / 0.8268 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005496/0.5061, allocations: 138 kB / 0.8269 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002779/0.5063, allocations: 233.2 kB / 0.8271 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.5064, allocations: 25.81 kB / 0.8272 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.842e-05/0.5064, allocations: 26.02 kB / 0.8272 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006795/0.5071, allocations: 0.5882 MB / 0.8278 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.5071, allocations: 3.938 kB / 0.8278 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.493e-05/0.5071, allocations: 15.61 kB / 0.8278 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-05/0.5072, allocations: 28.22 kB / 0.8278 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003796/0.5075, allocations: 320.4 kB / 0.8281 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001356/0.5089, allocations: 1.58 MB / 0.8297 GB, free: 9.59 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002693/0.5092, allocations: 167 kB / 0.8298 GB, free: 9.512 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.5093, allocations: 99.27 kB / 0.8299 GB, free: 9.477 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.809e-06/0.5093, allocations: 2.438 kB / 0.8299 GB, free: 9.477 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.5094, allocations: 36.81 kB / 0.8299 GB, free: 9.434 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/0.5094, allocations: 4 kB / 0.8299 GB, free: 9.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0005431/0.5099, allocations: 226.9 kB / 0.8302 GB, free: 9.324 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.5099, allocations: 53.53 kB / 0.8302 GB, free: 9.262 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002815/0.5102, allocations: 276 kB / 0.8305 GB, free: 9.102 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.5102, allocations: 30.86 kB / 0.8305 GB, free: 9.066 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.5103, allocations: 209.7 kB / 0.8307 GB, free: 8.891 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.567e-05/0.5104, allocations: 50.8 kB / 0.8308 GB, free: 8.852 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.163e-05/0.5104, allocations: 46.89 kB / 0.8308 GB, free: 8.816 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.238e-05/0.5105, allocations: 339.5 kB / 0.8311 GB, free: 8.488 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.5106, allocations: 59.19 kB / 0.8312 GB, free: 8.469 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.5108, allocations: 154 kB / 0.8313 GB, free: 8.332 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002065/0.511, allocations: 213.2 kB / 0.8315 GB, free: 8.172 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.511, allocations: 1.094 kB / 0.8315 GB, free: 8.172 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003029/0.5113, allocations: 262.5 kB / 0.8318 GB, free: 8.047 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.5113, allocations: 10.8 kB / 0.8318 GB, free: 8.047 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.5113, allocations: 6.875 kB / 0.8318 GB, free: 8.043 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001338/0.5114, allocations: 26.14 kB / 0.8318 GB, free: 8.031 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.5116, allocations: 48.75 kB / 0.8319 GB, free: 8.027 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007495/0.5123, allocations: 1.323 MB / 0.8332 GB, free: 6.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.512e-05/0.5124, allocations: 33.58 kB / 0.8332 GB, free: 6.707 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.5124, allocations: 12.44 kB / 0.8332 GB, free: 6.703 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.0001198/0.5125, allocations: 168 kB / 0.8334 GB, free: 6.562 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.944e-05/0.5126, allocations: 23.39 kB / 0.8334 GB, free: 6.551 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.98e-05/0.5126, allocations: 28.06 kB / 0.8334 GB, free: 6.527 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.5126, allocations: 1.75 kB / 0.8334 GB, free: 6.527 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.5126, allocations: 1.984 kB / 0.8334 GB, free: 6.527 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.5126, allocations: 0.7031 kB / 0.8334 GB, free: 6.527 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006198/0.5132, allocations: 0.6107 MB / 0.834 GB, free: 6.078 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.5132, allocations: 1.031 kB / 0.834 GB, free: 6.078 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.174e-05/0.5133, allocations: 21.33 kB / 0.834 GB, free: 6.078 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.178e-05/0.5133, allocations: 33.45 kB / 0.8341 GB, free: 6.059 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.5134, allocations: 6.656 kB / 0.8341 GB, free: 6.055 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006122/0.514, allocations: 1.307 MB / 0.8354 GB, free: 4.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.514, allocations: 2.281 kB / 0.8354 GB, free: 4.77 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002192/0.5142, allocations: 320.3 kB / 0.8357 GB, free: 4.52 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.522e-05/0.5142, allocations: 37.83 kB / 0.8357 GB, free: 4.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.5143, allocations: 11.44 kB / 0.8357 GB, free: 4.492 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.072e-05/0.5144, allocations: 9.203 kB / 0.8357 GB, free: 4.492 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.559e-05/0.5144, allocations: 23.03 kB / 0.8357 GB, free: 4.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.5144, allocations: 5.094 kB / 0.8357 GB, free: 4.48 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001359/0.5145, allocations: 189.8 kB / 0.8359 GB, free: 4.367 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5145, allocations: 1.156 kB / 0.8359 GB, free: 4.367 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002467/0.5148, allocations: 79.25 kB / 0.836 GB, free: 4.348 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.000574/0.5153, allocations: 0.8493 MB / 0.8368 GB, free: 3.562 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003351/0.5157, allocations: 268 kB / 0.8371 GB, free: 3.398 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.5157, allocations: 0 / 0.8371 GB, free: 3.398 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.5158, allocations: 183.5 kB / 0.8373 GB, free: 3.262 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/0.5161, allocations: 65.23 kB / 0.8373 GB, free: 3.242 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002417/0.5185, allocations: 2.728 MB / 0.84 GB, free: 1.25 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000189/0.5187, allocations: 179.4 kB / 0.8402 GB, free: 1.164 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001053/0.5188, allocations: 44.58 kB / 0.8402 GB, free: 1.156 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.994e-05/0.5189, allocations: 87.66 kB / 0.8403 GB, free: 1.094 MB / 0.6198 GB Notification: Performance of SimCode: time 5.91e-07/0.5189, allocations: 0 / 0.8403 GB, free: 1.094 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02115/0.5401, allocations: 6.115 MB / 0.8463 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.798/7.339, allocations: 9.156 kB / 0.8463 GB, free: 14.56 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_DC_Loads_Examples_Resistor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_DC_Loads_Examples_Resistor.fmu > IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.3672937117517] Failed to read output from testmodel.py, exit status != 0: 7.420903672929853 7.432803781 6.926207995 Calling exit ...