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.0007648/0.0007648, 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.0008868/0.0008868, allocations: 206.6 kB / 22.24 MB, free: 3.582 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.9699/0.9699, allocations: 230.6 MB / 256 MB, free: 9.59 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.7793/0.7793, allocations: 203.8 MB / 0.5042 GB, free: 10.4 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.0008846/0.0008846, allocations: 66.36 kB / 0.7181 GB, free: 4.066 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4987/0.4996, allocations: 102 MB / 0.8178 GB, free: 1.055 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Loads.Examples.Resistor): time 0.004187/0.5037, allocations: 3.788 MB / 0.8215 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001938/0.5057, allocations: 1.701 MB / 0.8231 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001175/0.5058, allocations: 10.97 kB / 0.8231 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0009448/0.5067, allocations: 496.6 kB / 0.8236 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003762/0.5071, allocations: 231.4 kB / 0.8238 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003391/0.5075, allocations: 213.3 kB / 0.824 GB, free: 13 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004691/0.5079, allocations: 478.5 kB / 0.8245 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000473/0.5084, allocations: 283.5 kB / 0.8248 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001905/0.5086, allocations: 206.9 kB / 0.825 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003242/0.5089, allocations: 209.6 kB / 0.8252 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.236e-05/0.5089, allocations: 26.25 kB / 0.8252 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002566/0.5092, allocations: 222 kB / 0.8254 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.5093, allocations: 130.9 kB / 0.8255 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.5094, allocations: 151.2 kB / 0.8257 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005113/0.51, allocations: 0.5011 MB / 0.8262 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.51, allocations: 0 / 0.8262 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.864e-06/0.51, allocations: 0 / 0.8262 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.866e-06/0.51, allocations: 1.406 kB / 0.8262 GB, free: 12.11 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.0008036/0.5108, allocations: 0.5657 MB / 0.8267 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.5108, allocations: 12.41 kB / 0.8267 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.921e-05/0.5109, allocations: 70.52 kB / 0.8268 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005759/0.5115, allocations: 134.2 kB / 0.8269 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003386/0.5118, allocations: 233.8 kB / 0.8271 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/0.5118, allocations: 24.52 kB / 0.8272 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.727e-05/0.5119, allocations: 26.62 kB / 0.8272 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006493/0.5125, allocations: 0.5831 MB / 0.8278 GB, free: 10.99 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.5125, allocations: 5 kB / 0.8278 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.788e-05/0.5126, allocations: 16.83 kB / 0.8278 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.866e-05/0.5126, allocations: 30.53 kB / 0.8278 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004467/0.5131, allocations: 316.8 kB / 0.8281 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001514/0.5146, allocations: 1.584 MB / 0.8297 GB, free: 9.602 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002743/0.5148, allocations: 172.2 kB / 0.8298 GB, free: 9.52 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001641/0.515, allocations: 94.39 kB / 0.8299 GB, free: 9.488 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.436e-06/0.515, allocations: 5.156 kB / 0.8299 GB, free: 9.484 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.515, allocations: 37.58 kB / 0.83 GB, free: 9.441 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 1.242e-06/0.515, allocations: 0 / 0.83 GB, free: 9.441 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0004825/0.5155, allocations: 226.8 kB / 0.8302 GB, free: 9.336 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/0.5156, allocations: 53.75 kB / 0.8302 GB, free: 9.273 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003166/0.5159, allocations: 276.3 kB / 0.8305 GB, free: 9.113 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.5159, allocations: 30.73 kB / 0.8305 GB, free: 9.078 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.516, allocations: 205.2 kB / 0.8307 GB, free: 8.906 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.15e-05/0.5161, allocations: 55.2 kB / 0.8308 GB, free: 8.863 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.696e-05/0.5161, allocations: 50.44 kB / 0.8308 GB, free: 8.824 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0003016/0.5164, allocations: 335.6 kB / 0.8311 GB, free: 8.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.5166, allocations: 55.91 kB / 0.8312 GB, free: 8.484 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00018/0.5167, allocations: 149.3 kB / 0.8313 GB, free: 8.352 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002678/0.517, allocations: 217.6 kB / 0.8315 GB, free: 8.188 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.517, allocations: 4.062 kB / 0.8315 GB, free: 8.184 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003311/0.5173, allocations: 265.9 kB / 0.8318 GB, free: 8.059 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.5174, allocations: 7.406 kB / 0.8318 GB, free: 8.059 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.5174, allocations: 3.312 kB / 0.8318 GB, free: 8.059 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001488/0.5175, allocations: 26.3 kB / 0.8318 GB, free: 8.047 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.5176, allocations: 47.27 kB / 0.8319 GB, free: 8.043 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007458/0.5184, allocations: 1.322 MB / 0.8332 GB, free: 6.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.428e-05/0.5185, allocations: 28.28 kB / 0.8332 GB, free: 6.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.5185, allocations: 11.97 kB / 0.8332 GB, free: 6.727 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.0001227/0.5186, allocations: 168.2 kB / 0.8334 GB, free: 6.586 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.145e-05/0.5187, allocations: 27.89 kB / 0.8334 GB, free: 6.57 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.794e-05/0.5187, allocations: 26.72 kB / 0.8334 GB, free: 6.547 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.5187, allocations: 2.344 kB / 0.8334 GB, free: 6.547 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.5187, allocations: 0.75 kB / 0.8334 GB, free: 6.547 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.5187, allocations: 9.781 kB / 0.8334 GB, free: 6.539 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006194/0.5193, allocations: 0.6061 MB / 0.834 GB, free: 6.094 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.5193, allocations: 2.844 kB / 0.834 GB, free: 6.094 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.007e-05/0.5194, allocations: 20.94 kB / 0.834 GB, free: 6.094 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.107e-05/0.5194, allocations: 32.7 kB / 0.8341 GB, free: 6.074 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.5194, allocations: 10.56 kB / 0.8341 GB, free: 6.066 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006222/0.5201, allocations: 1.304 MB / 0.8354 GB, free: 4.785 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.5201, allocations: 6.203 kB / 0.8354 GB, free: 4.781 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002246/0.5203, allocations: 316.5 kB / 0.8357 GB, free: 4.531 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.703e-05/0.5204, allocations: 42.27 kB / 0.8357 GB, free: 4.508 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.5204, allocations: 8.344 kB / 0.8357 GB, free: 4.504 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.153e-05/0.5205, allocations: 12.55 kB / 0.8357 GB, free: 4.5 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.616e-05/0.5205, allocations: 15.19 kB / 0.8357 GB, free: 4.496 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.5205, allocations: 9.5 kB / 0.8357 GB, free: 4.492 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001437/0.5206, allocations: 188.8 kB / 0.8359 GB, free: 4.379 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5206, allocations: 0.9375 kB / 0.8359 GB, free: 4.379 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002437/0.5209, allocations: 75.94 kB / 0.836 GB, free: 4.363 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.0004279/0.5213, allocations: 0.8531 MB / 0.8368 GB, free: 3.574 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003743/0.5217, allocations: 264 kB / 0.8371 GB, free: 3.414 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5217, allocations: 0 / 0.8371 GB, free: 3.414 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.5218, allocations: 184.2 kB / 0.8373 GB, free: 3.277 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.5222, allocations: 62.44 kB / 0.8373 GB, free: 3.258 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002413/0.5246, allocations: 2.731 MB / 0.84 GB, free: 1.266 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001703/0.5247, allocations: 186.4 kB / 0.8402 GB, free: 1.172 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002704/0.525, allocations: 53.58 kB / 0.8402 GB, free: 1.156 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.51e-05/0.5251, allocations: 82.91 kB / 0.8403 GB, free: 1.098 MB / 0.6198 GB Notification: Performance of SimCode: time 4.11e-07/0.5251, allocations: 3.938 kB / 0.8403 GB, free: 1.094 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02411/0.5492, allocations: 6.112 MB / 0.8463 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.765/7.314, allocations: 5.484 kB / 0.8463 GB, free: 14.6 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 & 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.30135084502399] Failed to read output from testmodel.py, exit status != 0: 7.396009454037994 7.408580051 6.896580036 Calling exit ...