Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001653/0.001653, allocations: 106.7 kB / 16.4 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001821/0.001821, allocations: 192.7 kB / 19.36 MB, free: 3.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 222.9 MB / 245.1 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8518/0.8518, allocations: 132.2 MB / 429.4 MB, free: 5.969 MB / 334.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002736/0.002736, allocations: 65.89 kB / 0.5894 GB, free: 23.98 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.1766, allocations: 80.2 MB / 0.6677 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.5806/0.7573, allocations: 193.8 MB / 0.857 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01038/0.7677, allocations: 5.134 MB / 0.862 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001922/0.7696, allocations: 47.34 kB / 0.8621 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002381/0.7721, allocations: 0.8134 MB / 0.8629 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007598/0.7797, allocations: 2.6 MB / 0.8654 GB, free: 9.145 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00376/0.7835, allocations: 1.112 MB / 0.8665 GB, free: 8.316 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004891/0.7884, allocations: 2.611 MB / 0.869 GB, free: 6.828 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001785/0.7902, allocations: 0.8923 MB / 0.8699 GB, free: 6.273 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002685/0.7929, allocations: 1.088 MB / 0.871 GB, free: 5.547 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001868/0.7948, allocations: 0.9417 MB / 0.8719 GB, free: 4.602 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002303/0.7951, allocations: 84 kB / 0.872 GB, free: 4.52 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004116/0.7992, allocations: 1.777 MB / 0.8737 GB, free: 2.738 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000625/0.7998, allocations: 434.5 kB / 0.8741 GB, free: 2.312 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001228/0.8011, allocations: 0.6526 MB / 0.8748 GB, free: 1.656 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.005461/0.8066, allocations: 2.172 MB / 0.8769 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.8066, allocations: 0 / 0.8769 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of FrontEnd: time 4.619e-06/0.8066, allocations: 4 kB / 0.8769 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.148e-05/0.8067, allocations: 3.938 kB / 0.8769 GB, free: 15.47 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.006283/0.813, allocations: 1.984 MB / 0.8788 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.8131, allocations: 8.031 kB / 0.8788 GB, free: 13.42 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002886/0.8134, allocations: 135.5 kB / 0.879 GB, free: 13.28 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004191/0.8176, allocations: 0.6662 MB / 0.8796 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002203/0.8198, allocations: 0.9577 MB / 0.8806 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000108/0.8199, allocations: 73.97 kB / 0.8806 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002847/0.8202, allocations: 87.94 kB / 0.8807 GB, free: 11.44 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003623/0.8239, allocations: 1.47 MB / 0.8821 GB, free: 9.891 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.982e-05/0.8239, allocations: 11.88 kB / 0.8822 GB, free: 9.879 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/0.824, allocations: 32 kB / 0.8822 GB, free: 9.848 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.497e-05/0.8241, allocations: 57.11 kB / 0.8822 GB, free: 9.797 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004256/0.8283, allocations: 1.518 MB / 0.8837 GB, free: 8.273 MB / 0.6387 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007947/0.8363, allocations: 5.484 MB / 0.8891 GB, free: 2.492 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003905/0.8402, allocations: 1.278 MB / 0.8903 GB, free: 1.211 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001772/0.842, allocations: 0.6584 MB / 0.891 GB, free: 0.5469 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009479/0.843, allocations: 0.578 MB / 0.8915 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001968/0.845, allocations: 0.7107 MB / 0.8922 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=80): time 3.647e-06/0.845, allocations: 4 kB / 0.8922 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of matching and sorting (n=80): time 0.005903/0.8509, allocations: 1.886 MB / 0.8941 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.252e-05/0.851, allocations: 60.06 kB / 0.8941 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001661/0.8527, allocations: 1.239 MB / 0.8953 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001004/0.8528, allocations: 41.7 kB / 0.8954 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005278/0.8533, allocations: 0.5839 MB / 0.8959 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002856/0.8536, allocations: 289.6 kB / 0.8962 GB, free: 11 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003554/0.854, allocations: 186.5 kB / 0.8964 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.8542, allocations: 341.9 kB / 0.8967 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001684/0.8558, allocations: 0.5366 MB / 0.8973 GB, free: 9.934 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001931/0.8578, allocations: 0.8289 MB / 0.8981 GB, free: 8.996 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003554/0.8614, allocations: 1.324 MB / 0.8994 GB, free: 7.57 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.058e-05/0.8614, allocations: 4 kB / 0.8994 GB, free: 7.566 MB / 0.6544 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004241/0.8656, allocations: 1.499 MB / 0.9008 GB, free: 6.059 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.309e-05/0.8657, allocations: 16.86 kB / 0.9008 GB, free: 6.043 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.8657, allocations: 4 kB / 0.9008 GB, free: 6.039 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.256e-05/0.8657, allocations: 16 kB / 0.9009 GB, free: 6.023 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001422/0.8672, allocations: 287.6 kB / 0.9011 GB, free: 5.742 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.365e-05/0.8672, allocations: 19.94 kB / 0.9012 GB, free: 5.723 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/0.8687, allocations: 199 kB / 0.9013 GB, free: 5.527 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/0.8688, allocations: 51.97 kB / 0.9014 GB, free: 5.477 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (117): * Single equations (assignments): 117 * 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.0006407/0.8694, allocations: 347.5 kB / 0.9017 GB, free: 5.129 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002279/0.8697, allocations: 135.1 kB / 0.9019 GB, free: 4.996 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004067/0.8738, allocations: 1.414 MB / 0.9032 GB, free: 3.574 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.8738, allocations: 8 kB / 0.9032 GB, free: 3.566 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.8738, allocations: 0 / 0.9032 GB, free: 3.566 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.8738, allocations: 3.984 kB / 0.9032 GB, free: 3.562 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006232/0.8801, allocations: 2.807 MB / 0.906 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/0.8801, allocations: 4 kB / 0.906 GB, free: 0.6523 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001237/0.8813, allocations: 223.9 kB / 0.9062 GB, free: 444 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.061e-05/0.8814, allocations: 7.938 kB / 0.9062 GB, free: 436 kB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-05/0.8815, allocations: 31.78 kB / 0.9062 GB, free: 408 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.276e-05/0.8815, allocations: 12 kB / 0.9063 GB, free: 396 kB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.84e-06/0.8815, allocations: 9.422 kB / 0.9063 GB, free: 388 kB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005876/0.8874, allocations: 2.256 MB / 0.9085 GB, free: 14.05 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007134/0.8881, allocations: 307.9 kB / 0.9088 GB, free: 13.73 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001982/0.8883, allocations: 24 kB / 0.9088 GB, free: 13.71 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00106/0.8894, allocations: 107.9 kB / 0.9089 GB, free: 13.61 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001569/0.8896, allocations: 68.36 kB / 0.9089 GB, free: 13.54 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.815e-05/0.8897, allocations: 39.97 kB / 0.909 GB, free: 13.5 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001129/0.8908, allocations: 0.8483 MB / 0.9098 GB, free: 12.65 MB / 0.67 GB Notification: Performance of sort global known variables: time 3e-07/0.8908, allocations: 0 / 0.9098 GB, free: 12.65 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001032/0.8918, allocations: 315.7 kB / 0.9101 GB, free: 12.34 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (80): * Single equations (assignments): 74 * 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.007886/0.8997, allocations: 3.235 MB / 0.9133 GB, free: 9.23 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003992/0.9038, allocations: 1.282 MB / 0.9145 GB, free: 7.945 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.9038, allocations: 0 / 0.9145 GB, free: 7.945 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001919/0.9057, allocations: 0.6443 MB / 0.9152 GB, free: 7.301 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002918/0.9087, allocations: 0.5877 MB / 0.9157 GB, free: 6.738 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02228/0.931, allocations: 11 MB / 0.9265 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008799/0.9319, allocations: 1.171 MB / 0.9276 GB, free: 10.12 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001275/0.9332, allocations: 345.9 kB / 0.9279 GB, free: 9.785 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007727/0.934, allocations: 0.4953 MB / 0.9284 GB, free: 9.289 MB / 0.6856 GB Notification: Performance of SimCode: time 8.52e-07/0.934, allocations: 0 / 0.9284 GB, free: 9.289 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0741/1.008, allocations: 33.9 MB / 0.9615 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.92, allocations: 0 / 0.9615 GB, free: 7.695 MB / 0.7169 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.521948779001832] Failed to read output from testmodel.py, exit status != 0: 12.065364548936486 12.088329017 11.277615539 Calling exit ...