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.000796/0.000796, allocations: 84.42 kB / 19.92 MB, free: 4 kB / 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.0008476/0.0008476, allocations: 169.2 kB / 23.19 MB, free: 1.375 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.9295/0.9295, allocations: 177.2 MB / 203.6 MB, free: 5.762 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.7259/0.7259, allocations: 154.7 MB / 414.7 MB, free: 0.75 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: translateModel(IDEAS.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor") translateModel(IDEAS.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor") [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.0009306/0.0009306, allocations: 71.89 kB / 0.6195 GB, free: 13.18 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4986/0.4996, allocations: 102 MB / 0.7191 GB, free: 23.68 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Loads.Examples.Resistor): time 0.004716/0.5043, allocations: 3.739 MB / 0.7227 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002528/0.5068, allocations: 1.692 MB / 0.7244 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001829/0.507, allocations: 10.62 kB / 0.7244 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0009128/0.5079, allocations: 0.4971 MB / 0.7249 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0005468/0.5085, allocations: 227 kB / 0.7251 GB, free: 19.78 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004912/0.5089, allocations: 214.8 kB / 0.7253 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0004768/0.5094, allocations: 476 kB / 0.7258 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004698/0.5099, allocations: 286.7 kB / 0.726 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003221/0.5102, allocations: 283.3 kB / 0.7263 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004262/0.5106, allocations: 215.4 kB / 0.7265 GB, free: 19.13 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.592e-05/0.5107, allocations: 28.06 kB / 0.7265 GB, free: 19.13 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003609/0.511, allocations: 226.2 kB / 0.7268 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.5112, allocations: 132.2 kB / 0.7269 GB, free: 19 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.5113, allocations: 142.3 kB / 0.727 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0005956/0.5119, allocations: 0.5407 MB / 0.7275 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.5119, allocations: 0 / 0.7275 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.345e-06/0.5119, allocations: 4 kB / 0.7276 GB, free: 18.72 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.5119, allocations: 0 / 0.7276 GB, free: 18.72 MB / 0.6355 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.0008447/0.5127, allocations: 0.5652 MB / 0.7281 GB, free: 18.29 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.5128, allocations: 9.328 kB / 0.7281 GB, free: 18.29 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005643/0.5134, allocations: 137.5 kB / 0.7282 GB, free: 18.26 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003/0.5137, allocations: 230.1 kB / 0.7285 GB, free: 18.08 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.5137, allocations: 21.62 kB / 0.7285 GB, free: 18.07 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.182e-05/0.5137, allocations: 26.38 kB / 0.7285 GB, free: 18.06 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005204/0.5142, allocations: 0.5826 MB / 0.7291 GB, free: 17.66 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.5142, allocations: 5.562 kB / 0.7291 GB, free: 17.66 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.599e-05/0.5143, allocations: 11.72 kB / 0.7291 GB, free: 17.65 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.62e-05/0.5143, allocations: 34.91 kB / 0.7291 GB, free: 17.64 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003899/0.5147, allocations: 317.5 kB / 0.7294 GB, free: 17.54 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001231/0.5159, allocations: 1.512 MB / 0.7309 GB, free: 16.34 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002709/0.5162, allocations: 178.2 kB / 0.7311 GB, free: 16.25 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001693/0.5164, allocations: 95.69 kB / 0.7312 GB, free: 16.22 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.804e-06/0.5164, allocations: 1.188 kB / 0.7312 GB, free: 16.22 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.631e-05/0.5164, allocations: 37.34 kB / 0.7312 GB, free: 16.18 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 1.674e-06/0.5164, allocations: 0 / 0.7312 GB, free: 16.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.0004119/0.5168, allocations: 220.3 kB / 0.7314 GB, free: 16.08 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.399e-05/0.5168, allocations: 54.3 kB / 0.7315 GB, free: 16.02 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001742/0.517, allocations: 229.4 kB / 0.7317 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.517, allocations: 31.33 kB / 0.7317 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.553e-05/0.5171, allocations: 210.2 kB / 0.7319 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.487e-05/0.5171, allocations: 59.11 kB / 0.732 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.876e-05/0.5172, allocations: 52.19 kB / 0.732 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.416e-05/0.5172, allocations: 331.8 kB / 0.7323 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.565e-05/0.5173, allocations: 56.16 kB / 0.7324 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.693e-05/0.5174, allocations: 150.4 kB / 0.7325 GB, free: 15.1 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.5175, allocations: 218.5 kB / 0.7327 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.5175, allocations: 4 kB / 0.7327 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000304/0.5178, allocations: 258 kB / 0.733 GB, free: 14.81 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.5179, allocations: 9.531 kB / 0.733 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.5179, allocations: 6.75 kB / 0.733 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001598/0.518, allocations: 37.19 kB / 0.733 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.5182, allocations: 46.45 kB / 0.7331 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006301/0.5188, allocations: 1.293 MB / 0.7344 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.52e-05/0.5189, allocations: 28.83 kB / 0.7344 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.5189, allocations: 12.25 kB / 0.7344 GB, free: 13.5 MB / 0.6355 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.0001154/0.519, allocations: 167.4 kB / 0.7346 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.953e-05/0.519, allocations: 22.33 kB / 0.7346 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.466e-05/0.5191, allocations: 25.31 kB / 0.7346 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.5191, allocations: 0.6562 kB / 0.7346 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.5191, allocations: 1.766 kB / 0.7346 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.384e-05/0.5191, allocations: 37.28 kB / 0.7346 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.5192, allocations: 6.062 kB / 0.7346 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.58e-05/0.5192, allocations: 7.562 kB / 0.7346 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.628e-05/0.5193, allocations: 8.812 kB / 0.7347 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000238/0.5195, allocations: 242.4 kB / 0.7349 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002318/0.5197, allocations: 385.7 kB / 0.7353 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.243e-05/0.5198, allocations: 44.48 kB / 0.7353 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001052/0.5199, allocations: 162.3 kB / 0.7355 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of Backend: time 3.51e-07/0.5199, allocations: 0 / 0.7355 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0008583/0.5207, allocations: 434.6 kB / 0.7359 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0008118/0.5216, allocations: 0.9831 MB / 0.7368 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of Templates: time 0.00678/0.5283, allocations: 3.743 MB / 0.7405 GB, free: 11.3 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.249074531020597] Failed to read output from testmodel.py, exit status != 0: 0.5342538228724152 0.542111725 0.028432552000000003 Calling exit ...