Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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.0008225/0.0008225, 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.0009103/0.0009103, allocations: 212.1 kB / 22.25 MB, free: 3.727 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.9528/0.9528, allocations: 230.6 MB / 256 MB, free: 9.605 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.8399/0.8399, allocations: 203.8 MB / 0.5042 GB, free: 10.47 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.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",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.001068/0.001068, allocations: 63.72 kB / 0.7182 GB, free: 4.016 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.544/0.5451, allocations: 102 MB / 0.8178 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.2021/0.7471, allocations: 214.7 MB / 1.027 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.01073/0.7578, allocations: 8.07 MB / 1.035 GB, free: 6.148 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001974/0.7598, allocations: 95.12 kB / 1.035 GB, free: 6.055 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.002375/0.7622, allocations: 1.049 MB / 1.036 GB, free: 5 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.006928/0.7691, allocations: 3.227 MB / 1.04 GB, free: 1.762 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.007281/0.7764, allocations: 3.526 MB / 1.043 GB, free: 14.23 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.004974/0.7814, allocations: 3.972 MB / 1.047 GB, free: 10.24 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001754/0.7831, allocations: 1.096 MB / 1.048 GB, free: 9.109 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004378/0.7875, allocations: 2.332 MB / 1.05 GB, free: 6.77 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001805/0.7893, allocations: 1.365 MB / 1.052 GB, free: 5.398 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002341/0.7896, allocations: 128 kB / 1.052 GB, free: 5.273 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004947/0.7945, allocations: 3.179 MB / 1.055 GB, free: 2.086 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0008237/0.7953, allocations: 0.6151 MB / 1.055 GB, free: 1.469 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0009412/0.7963, allocations: 0.8201 MB / 1.056 GB, free: 0.6445 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.006563/0.8028, allocations: 3.714 MB / 1.06 GB, free: 12.92 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.8028, allocations: 11.94 kB / 1.06 GB, free: 12.91 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.638e-06/0.8028, allocations: 0 / 1.06 GB, free: 12.91 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.893e-05/0.8029, allocations: 0 / 1.06 GB, free: 12.91 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.004364/0.8072, allocations: 2.646 MB / 1.062 GB, free: 10.21 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.8073, allocations: 8.031 kB / 1.063 GB, free: 10.2 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001617/0.8075, allocations: 194.4 kB / 1.063 GB, free: 10 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003754/0.8112, allocations: 1.091 MB / 1.064 GB, free: 8.906 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001687/0.8129, allocations: 1.15 MB / 1.065 GB, free: 7.711 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.262e-05/0.813, allocations: 102.6 kB / 1.065 GB, free: 7.609 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000142/0.8131, allocations: 132 kB / 1.065 GB, free: 7.48 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002447/0.8155, allocations: 1.98 MB / 1.067 GB, free: 5.355 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/0.8156, allocations: 7.938 kB / 1.067 GB, free: 5.348 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.305e-05/0.8157, allocations: 59.97 kB / 1.067 GB, free: 5.289 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-05/0.8157, allocations: 62.3 kB / 1.067 GB, free: 5.227 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002741/0.8185, allocations: 1.878 MB / 1.069 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006848/0.8253, allocations: 7.21 MB / 1.076 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002608/0.8279, allocations: 1.561 MB / 1.078 GB, free: 10.33 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001072/0.829, allocations: 0.7508 MB / 1.078 GB, free: 9.574 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003975/0.8294, allocations: 132.9 kB / 1.078 GB, free: 9.445 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001207/0.8306, allocations: 0.8721 MB / 1.079 GB, free: 8.562 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=104): time 5.27e-06/0.8306, allocations: 11.86 kB / 1.079 GB, free: 8.551 MB / 0.8542 GB Notification: Performance of matching and sorting (n=104): time 0.003863/0.8345, allocations: 2.345 MB / 1.082 GB, free: 6.195 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.8345, allocations: 64.41 kB / 1.082 GB, free: 6.121 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00169/0.8362, allocations: 1.736 MB / 1.083 GB, free: 4.336 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003132/0.8365, allocations: 49.7 kB / 1.083 GB, free: 4.281 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000557/0.8371, allocations: 0.8519 MB / 1.084 GB, free: 3.422 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002996/0.8374, allocations: 376.8 kB / 1.085 GB, free: 3.051 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002678/0.8376, allocations: 242.8 kB / 1.085 GB, free: 2.809 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.8377, allocations: 357.9 kB / 1.085 GB, free: 2.453 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001044/0.8388, allocations: 0.67 MB / 1.086 GB, free: 1.781 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00131/0.8401, allocations: 1.288 MB / 1.087 GB, free: 284 kB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002235/0.8423, allocations: 1.727 MB / 1.089 GB, free: 14.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.8423, allocations: 4 kB / 1.089 GB, free: 14.39 MB / 0.8698 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.003311/0.8456, allocations: 1.937 MB / 1.091 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/0.8457, allocations: 12 kB / 1.091 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.8457, allocations: 12 kB / 1.091 GB, free: 12.42 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.493e-05/0.8457, allocations: 20.06 kB / 1.091 GB, free: 12.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008999/0.8466, allocations: 363.4 kB / 1.091 GB, free: 12.05 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.953e-05/0.8466, allocations: 23.92 kB / 1.091 GB, free: 12.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/0.8478, allocations: 246.7 kB / 1.091 GB, free: 11.78 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.041e-05/0.8478, allocations: 67.97 kB / 1.091 GB, free: 11.71 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 157 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006955/0.8485, allocations: 407.2 kB / 1.092 GB, free: 11.31 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002588/0.8488, allocations: 194.7 kB / 1.092 GB, free: 11.12 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002681/0.8515, allocations: 1.848 MB / 1.094 GB, free: 9.262 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.8515, allocations: 8 kB / 1.094 GB, free: 9.254 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.8515, allocations: 0 / 1.094 GB, free: 9.254 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.8515, allocations: 7.984 kB / 1.094 GB, free: 9.246 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004998/0.8565, allocations: 3.796 MB / 1.097 GB, free: 5.309 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.8565, allocations: 4 kB / 1.097 GB, free: 5.305 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007596/0.8573, allocations: 287.5 kB / 1.098 GB, free: 5.023 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.124e-05/0.8573, allocations: 8 kB / 1.098 GB, free: 5.016 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.129e-05/0.8573, allocations: 35.97 kB / 1.098 GB, free: 4.98 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.428e-06/0.8574, allocations: 15.94 kB / 1.098 GB, free: 4.965 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/0.8574, allocations: 8 kB / 1.098 GB, free: 4.957 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003798/0.8612, allocations: 2.94 MB / 1.101 GB, free: 1.91 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006305/0.8618, allocations: 330.3 kB / 1.101 GB, free: 1.586 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001521/0.8619, allocations: 35.98 kB / 1.101 GB, free: 1.551 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006834/0.8626, allocations: 115.9 kB / 1.101 GB, free: 1.438 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.8628, allocations: 92.34 kB / 1.101 GB, free: 1.344 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.456e-05/0.8628, allocations: 47.97 kB / 1.101 GB, free: 1.297 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001166/0.864, allocations: 1.179 MB / 1.102 GB, free: 96 kB / 0.8698 GB Notification: Performance of sort global known variables: time 7.1e-08/0.864, allocations: 0 / 1.102 GB, free: 96 kB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001072/0.8651, allocations: 471.6 kB / 1.103 GB, free: 15.63 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,heaCooUnl.Xi) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004973/0.87, allocations: 3.994 MB / 1.107 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002501/0.8725, allocations: 1.589 MB / 1.108 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.8725, allocations: 0 / 1.108 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001143/0.8737, allocations: 0.7937 MB / 1.109 GB, free: 9.363 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002542/0.8762, allocations: 0.9323 MB / 1.11 GB, free: 8.469 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01966/0.8959, allocations: 15.07 MB / 1.125 GB, free: 8.691 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007381/0.8966, allocations: 0.7989 MB / 1.125 GB, free: 7.852 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.001365/0.898, allocations: 458.5 kB / 1.126 GB, free: 7.398 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007158/0.8987, allocations: 0.714 MB / 1.127 GB, free: 6.684 MB / 0.9011 GB Notification: Performance of SimCode: time 2.976e-06/0.8987, allocations: 3.938 kB / 1.127 GB, free: 6.68 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4408/1.34, allocations: 53.98 MB / 1.179 GB, free: 291.3 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.012/9.351, allocations: 12.48 kB / 1.179 GB, free: 291.3 MB / 0.9167 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.csv --start-time 0 --stop-time 1200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.48 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.558031094726175] Failed to read output from testmodel.py, exit status != 0: 9.474167512264103 9.483471408 8.678903353 Calling exit ...