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.001085/0.001085, 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.0008495/0.0008495, allocations: 214.3 kB / 22.25 MB, free: 3.711 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.9757/0.9757, allocations: 230.6 MB / 256 MB, free: 9.797 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.7744/0.7744, allocations: 203.8 MB / 0.5042 GB, free: 10.7 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.001433/0.001433, allocations: 71.38 kB / 0.7182 GB, free: 4.34 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4809/0.4823, allocations: 102 MB / 0.8178 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Loads.Examples.Resistor): time 0.003907/0.4862, allocations: 3.991 MB / 0.8217 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001861/0.4881, allocations: 1.834 MB / 0.8235 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001253/0.4882, allocations: 10.19 kB / 0.8235 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000914/0.4891, allocations: 0.5066 MB / 0.824 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003761/0.4895, allocations: 226.7 kB / 0.8243 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003493/0.4899, allocations: 217.9 kB / 0.8245 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004666/0.4903, allocations: 475.7 kB / 0.8249 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004867/0.4908, allocations: 288 kB / 0.8252 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002098/0.491, allocations: 199.9 kB / 0.8254 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003431/0.4914, allocations: 228.1 kB / 0.8256 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.895e-05/0.4914, allocations: 27.69 kB / 0.8256 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003167/0.4917, allocations: 253.1 kB / 0.8259 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.4918, allocations: 134.5 kB / 0.826 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.492, allocations: 168.3 kB / 0.8262 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005604/0.4925, allocations: 0.5133 MB / 0.8267 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4925, allocations: 0 / 0.8267 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.984e-06/0.4925, allocations: 0 / 0.8267 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.365e-06/0.4925, allocations: 0 / 0.8267 GB, free: 11.86 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.0007834/0.4933, allocations: 0.5607 MB / 0.8272 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.4934, allocations: 10.75 kB / 0.8272 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.501e-05/0.4934, allocations: 73.97 kB / 0.8273 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000531/0.494, allocations: 137.9 kB / 0.8274 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003172/0.4943, allocations: 229 kB / 0.8276 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.4943, allocations: 24.62 kB / 0.8277 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.429e-05/0.4943, allocations: 27.09 kB / 0.8277 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006109/0.4949, allocations: 464.9 kB / 0.8281 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.495, allocations: 5.219 kB / 0.8281 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.659e-05/0.495, allocations: 11.97 kB / 0.8281 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.188e-05/0.495, allocations: 27.52 kB / 0.8282 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003907/0.4954, allocations: 320.7 kB / 0.8285 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001574/0.497, allocations: 2.161 MB / 0.8306 GB, free: 8.852 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002909/0.4973, allocations: 159.6 kB / 0.8307 GB, free: 8.781 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000187/0.4975, allocations: 98.98 kB / 0.8308 GB, free: 8.746 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.4975, allocations: 3.062 kB / 0.8308 GB, free: 8.746 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.4975, allocations: 36.45 kB / 0.8309 GB, free: 8.703 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 1.503e-06/0.4975, allocations: 0 / 0.8309 GB, free: 8.703 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0005266/0.498, allocations: 222.5 kB / 0.8311 GB, free: 8.602 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.4981, allocations: 61.12 kB / 0.8311 GB, free: 8.531 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003275/0.4984, allocations: 270.8 kB / 0.8314 GB, free: 8.375 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.4984, allocations: 31.53 kB / 0.8314 GB, free: 8.34 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/0.4986, allocations: 212.6 kB / 0.8316 GB, free: 8.16 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.564e-05/0.4986, allocations: 47.78 kB / 0.8317 GB, free: 8.125 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.787e-05/0.4987, allocations: 50.48 kB / 0.8317 GB, free: 8.086 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.4988, allocations: 338.8 kB / 0.832 GB, free: 7.758 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.4989, allocations: 54.95 kB / 0.8321 GB, free: 7.742 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001587/0.499, allocations: 144 kB / 0.8322 GB, free: 7.613 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003196/0.4994, allocations: 218.2 kB / 0.8324 GB, free: 7.445 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.4994, allocations: 1.094 kB / 0.8324 GB, free: 7.445 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003935/0.4998, allocations: 270.7 kB / 0.8327 GB, free: 7.312 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.4998, allocations: 6.969 kB / 0.8327 GB, free: 7.312 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.4998, allocations: 3.875 kB / 0.8327 GB, free: 7.312 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001488/0.4999, allocations: 25.8 kB / 0.8327 GB, free: 7.301 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.5001, allocations: 49.38 kB / 0.8328 GB, free: 7.297 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000866/0.5009, allocations: 1.324 MB / 0.8341 GB, free: 6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.501, allocations: 24.88 kB / 0.8341 GB, free: 5.984 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.5011, allocations: 12.56 kB / 0.8341 GB, free: 5.98 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.0001334/0.5012, allocations: 173.2 kB / 0.8343 GB, free: 5.832 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.24e-05/0.5012, allocations: 25.02 kB / 0.8343 GB, free: 5.82 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.101e-05/0.5013, allocations: 30.44 kB / 0.8343 GB, free: 5.793 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.315e-06/0.5013, allocations: 3.078 kB / 0.8343 GB, free: 5.793 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.5013, allocations: 0 / 0.8343 GB, free: 5.793 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.5013, allocations: 1.703 kB / 0.8343 GB, free: 5.793 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006697/0.5019, allocations: 0.677 MB / 0.835 GB, free: 5.277 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.5019, allocations: 2.344 kB / 0.835 GB, free: 5.277 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.464e-05/0.502, allocations: 21.92 kB / 0.835 GB, free: 5.277 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.616e-05/0.5021, allocations: 36.31 kB / 0.8351 GB, free: 5.254 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.5021, allocations: 2.531 kB / 0.8351 GB, free: 5.254 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007315/0.5028, allocations: 1.309 MB / 0.8363 GB, free: 3.969 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.5028, allocations: 1.125 kB / 0.8363 GB, free: 3.969 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003221/0.5031, allocations: 319.5 kB / 0.8366 GB, free: 3.715 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.528e-05/0.5032, allocations: 33.02 kB / 0.8367 GB, free: 3.699 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.073e-05/0.5032, allocations: 8.047 kB / 0.8367 GB, free: 3.695 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.597e-05/0.5033, allocations: 11.61 kB / 0.8367 GB, free: 3.691 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.956e-05/0.5034, allocations: 30.38 kB / 0.8367 GB, free: 3.672 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.5034, allocations: 6.031 kB / 0.8367 GB, free: 3.672 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001808/0.5036, allocations: 189.8 kB / 0.8369 GB, free: 3.559 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5036, allocations: 0 / 0.8369 GB, free: 3.559 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003019/0.5039, allocations: 84.5 kB / 0.837 GB, free: 3.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.0004393/0.5043, allocations: 0.8522 MB / 0.8378 GB, free: 2.746 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003522/0.5047, allocations: 267.3 kB / 0.8381 GB, free: 2.582 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.5047, allocations: 1.125 kB / 0.8381 GB, free: 2.582 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.5048, allocations: 180.3 kB / 0.8382 GB, free: 2.449 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.5051, allocations: 67.28 kB / 0.8383 GB, free: 2.43 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002842/0.508, allocations: 2.73 MB / 0.841 GB, free: 432 kB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003197/0.5083, allocations: 0.7905 MB / 0.8417 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001681/0.5085, allocations: 45.94 kB / 0.8418 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.5086, allocations: 83.53 kB / 0.8419 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of SimCode: time 1.513e-06/0.5086, allocations: 0 / 0.8419 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02361/0.5322, allocations: 5.608 MB / 0.8474 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.967/7.499, allocations: 7.984 kB / 0.8474 GB, free: 13.57 MB / 0.6355 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.49959366908297] Failed to read output from testmodel.py, exit status != 0: 7.584084568079561 7.597016456 7.101711968 Calling exit ...