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.00088/0.00088, 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.001519/0.001519, allocations: 206.5 kB / 22.24 MB, free: 3.578 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.9973/0.9973, allocations: 230.6 MB / 256 MB, free: 9.617 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.8045/0.8045, allocations: 203.5 MB / 0.5038 GB, free: 10.79 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.0008851/0.0008851, allocations: 68.48 kB / 0.7178 GB, free: 4.43 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4894/0.4903, allocations: 102 MB / 0.8174 GB, free: 1.223 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Loads.Examples.Resistor): time 0.004555/0.4948, allocations: 3.791 MB / 0.8211 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002441/0.4973, allocations: 1.7 MB / 0.8227 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001702/0.4975, allocations: 11.34 kB / 0.8227 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0009276/0.4984, allocations: 499.5 kB / 0.8232 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000452/0.4988, allocations: 224.8 kB / 0.8234 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004691/0.4993, allocations: 211.7 kB / 0.8236 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005892/0.4999, allocations: 479.5 kB / 0.8241 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005354/0.5004, allocations: 279 kB / 0.8244 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000225/0.5007, allocations: 206.4 kB / 0.8245 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003782/0.501, allocations: 211.9 kB / 0.8247 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.729e-05/0.5011, allocations: 27.56 kB / 0.8248 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003429/0.5014, allocations: 226 kB / 0.825 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001359/0.5016, allocations: 128.4 kB / 0.8251 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.5017, allocations: 146.7 kB / 0.8253 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006422/0.5023, allocations: 0.5045 MB / 0.8257 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.5023, allocations: 4.688 kB / 0.8258 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.805e-06/0.5023, allocations: 0 / 0.8258 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.053e-05/0.5024, allocations: 1.125 kB / 0.8258 GB, free: 12.29 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.0008989/0.5033, allocations: 0.5561 MB / 0.8263 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.5033, allocations: 11.12 kB / 0.8263 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.486e-05/0.5034, allocations: 69.22 kB / 0.8264 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005699/0.5039, allocations: 143 kB / 0.8265 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003086/0.5042, allocations: 229.9 kB / 0.8267 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.5043, allocations: 31.52 kB / 0.8268 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.067e-05/0.5043, allocations: 30.53 kB / 0.8268 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005705/0.5049, allocations: 0.5797 MB / 0.8274 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.5049, allocations: 0 / 0.8274 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.892e-05/0.5049, allocations: 14 kB / 0.8274 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.15e-05/0.5049, allocations: 30.73 kB / 0.8274 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004084/0.5054, allocations: 319.8 kB / 0.8277 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001415/0.5068, allocations: 1.593 MB / 0.8293 GB, free: 9.773 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002797/0.5071, allocations: 159.5 kB / 0.8294 GB, free: 9.703 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001752/0.5072, allocations: 95.44 kB / 0.8295 GB, free: 9.672 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.768e-06/0.5072, allocations: 5.125 kB / 0.8295 GB, free: 9.668 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.5073, allocations: 37.67 kB / 0.8295 GB, free: 9.625 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 1.213e-06/0.5073, allocations: 0 / 0.8295 GB, free: 9.625 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0004749/0.5077, allocations: 229.3 kB / 0.8298 GB, free: 9.52 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.5078, allocations: 53.88 kB / 0.8298 GB, free: 9.457 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003556/0.5081, allocations: 275.9 kB / 0.8301 GB, free: 9.301 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.5081, allocations: 30.64 kB / 0.8301 GB, free: 9.266 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001693/0.5083, allocations: 205.1 kB / 0.8303 GB, free: 9.094 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.792e-05/0.5084, allocations: 51.33 kB / 0.8303 GB, free: 9.055 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.183e-05/0.5084, allocations: 50.67 kB / 0.8304 GB, free: 9.016 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.5086, allocations: 339.8 kB / 0.8307 GB, free: 8.688 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.5087, allocations: 58.42 kB / 0.8308 GB, free: 8.668 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001855/0.5089, allocations: 143.6 kB / 0.8309 GB, free: 8.543 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003889/0.5093, allocations: 218.2 kB / 0.8311 GB, free: 8.375 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.5093, allocations: 1.094 kB / 0.8311 GB, free: 8.375 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003887/0.5097, allocations: 261.2 kB / 0.8314 GB, free: 8.254 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.5097, allocations: 14.72 kB / 0.8314 GB, free: 8.246 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.5097, allocations: 4.219 kB / 0.8314 GB, free: 8.246 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000138/0.5098, allocations: 22.97 kB / 0.8314 GB, free: 8.238 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.51, allocations: 51.77 kB / 0.8315 GB, free: 8.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008584/0.5108, allocations: 1.331 MB / 0.8328 GB, free: 6.926 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.499e-05/0.5109, allocations: 28.5 kB / 0.8328 GB, free: 6.906 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.5109, allocations: 9.391 kB / 0.8328 GB, free: 6.906 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.0001388/0.5111, allocations: 171.1 kB / 0.833 GB, free: 6.762 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.304e-05/0.5111, allocations: 23.14 kB / 0.833 GB, free: 6.75 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.24e-05/0.5111, allocations: 27.61 kB / 0.833 GB, free: 6.727 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.5111, allocations: 6.234 kB / 0.833 GB, free: 6.723 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.5111, allocations: 1.125 kB / 0.833 GB, free: 6.723 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.5111, allocations: 0.7969 kB / 0.833 GB, free: 6.723 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006673/0.5118, allocations: 0.6068 MB / 0.8336 GB, free: 6.277 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.5118, allocations: 1.625 kB / 0.8336 GB, free: 6.277 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.297e-05/0.5119, allocations: 25.28 kB / 0.8336 GB, free: 6.273 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.824e-05/0.5119, allocations: 29.05 kB / 0.8337 GB, free: 6.258 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.168e-06/0.5119, allocations: 2.781 kB / 0.8337 GB, free: 6.258 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006/0.5125, allocations: 1.307 MB / 0.8349 GB, free: 4.973 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.5125, allocations: 2.625 kB / 0.8349 GB, free: 4.973 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000232/0.5128, allocations: 312.4 kB / 0.8352 GB, free: 4.727 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.429e-05/0.5128, allocations: 38.58 kB / 0.8353 GB, free: 4.707 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.5128, allocations: 7.406 kB / 0.8353 GB, free: 4.703 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.692e-05/0.5129, allocations: 13.16 kB / 0.8353 GB, free: 4.699 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.662e-05/0.513, allocations: 22.55 kB / 0.8353 GB, free: 4.688 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.513, allocations: 9.281 kB / 0.8353 GB, free: 4.684 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001387/0.5131, allocations: 190.6 kB / 0.8355 GB, free: 4.57 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.5131, allocations: 0 / 0.8355 GB, free: 4.57 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002546/0.5134, allocations: 75.91 kB / 0.8356 GB, free: 4.555 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.0004162/0.5138, allocations: 0.8479 MB / 0.8364 GB, free: 3.773 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003395/0.5141, allocations: 278.4 kB / 0.8367 GB, free: 3.602 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5141, allocations: 0 / 0.8367 GB, free: 3.602 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.5142, allocations: 184.6 kB / 0.8369 GB, free: 3.465 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.5146, allocations: 57.12 kB / 0.8369 GB, free: 3.445 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002278/0.5168, allocations: 2.736 MB / 0.8396 GB, free: 1.449 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001604/0.517, allocations: 182.2 kB / 0.8398 GB, free: 1.359 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001142/0.5171, allocations: 49.27 kB / 0.8398 GB, free: 1.348 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.655e-05/0.5172, allocations: 83.94 kB / 0.8399 GB, free: 1.285 MB / 0.6198 GB Notification: Performance of SimCode: time 3.9e-07/0.5172, allocations: 0 / 0.8399 GB, free: 1.285 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02341/0.5406, allocations: 6.11 MB / 0.8458 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.774/7.315, allocations: 13.02 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 & python3 -m fmpy simulate --output-file IDEAS_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_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.400419138837606] Failed to read output from testmodel.py, exit status != 0: 7.398992600850761 7.412631017 6.908206974 Calling exit ...