Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008427/0.008427, allocations: 101.2 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001744/0.001744, allocations: 195.9 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9677/0.9677, allocations: 135.1 MB / 425.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 67.89 kB / 0.5852 GB, free: 3.836 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4379/0.4393, allocations: 80.91 MB / 0.6642 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.2169/0.6562, allocations: 193.8 MB / 0.8535 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.009109/0.6654, allocations: 5.153 MB / 0.8585 GB, free: 9.922 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00139/0.6668, allocations: 51.69 kB / 0.8585 GB, free: 9.871 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002135/0.669, allocations: 0.8003 MB / 0.8593 GB, free: 9.066 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.00675/0.6758, allocations: 2.605 MB / 0.8619 GB, free: 6.453 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003002/0.6788, allocations: 1.106 MB / 0.8629 GB, free: 5.352 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.00397/0.6828, allocations: 2.691 MB / 0.8656 GB, free: 2.648 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001833/0.6847, allocations: 0.9406 MB / 0.8665 GB, free: 1.695 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002617/0.6873, allocations: 1.133 MB / 0.8676 GB, free: 0.5586 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.457/1.144, allocations: 0.9846 MB / 0.8686 GB, free: 5.812 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004383/1.145, allocations: 86.06 kB / 0.8686 GB, free: 5.812 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004422/1.149, allocations: 1.786 MB / 0.8704 GB, free: 5.812 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0007631/1.15, allocations: 455.3 kB / 0.8708 GB, free: 5.812 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001331/1.151, allocations: 0.6609 MB / 0.8715 GB, free: 5.812 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.006344/1.158, allocations: 2.233 MB / 0.8736 GB, free: 5.75 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/1.158, allocations: 1.656 kB / 0.8737 GB, free: 5.75 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.535e-06/1.158, allocations: 0 / 0.8737 GB, free: 5.75 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.894e-05/1.158, allocations: 1.625 kB / 0.8737 GB, free: 5.75 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.006615/1.164, allocations: 1.961 MB / 0.8756 GB, free: 4.809 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/1.164, allocations: 9.375 kB / 0.8756 GB, free: 4.809 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001905/1.165, allocations: 140.2 kB / 0.8757 GB, free: 4.77 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00595/1.171, allocations: 0.8937 MB / 0.8766 GB, free: 4.691 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002723/1.173, allocations: 0.9733 MB / 0.8775 GB, free: 4.305 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/1.174, allocations: 74.09 kB / 0.8776 GB, free: 4.305 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002965/1.174, allocations: 91.41 kB / 0.8777 GB, free: 4.305 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004639/1.178, allocations: 1.582 MB / 0.8792 GB, free: 4.18 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.882e-05/1.179, allocations: 1.781 kB / 0.8792 GB, free: 4.18 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00012/1.179, allocations: 39.47 kB / 0.8793 GB, free: 4.18 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.851e-05/1.179, allocations: 45.7 kB / 0.8793 GB, free: 4.18 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005637/1.184, allocations: 1.856 MB / 0.8811 GB, free: 4.168 MB / 0.6856 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.008702/1.193, allocations: 4.721 MB / 0.8857 GB, free: 18.32 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00436/1.198, allocations: 1.573 MB / 0.8873 GB, free: 18.28 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002265/1.2, allocations: 0.8534 MB / 0.8881 GB, free: 18.27 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001333/1.201, allocations: 0.9435 MB / 0.889 GB, free: 17.33 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002467/1.204, allocations: 0.9169 MB / 0.8899 GB, free: 17.28 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=95): time 4.398e-06/1.204, allocations: 0 / 0.8899 GB, free: 17.28 MB / 0.7012 GB Notification: Performance of matching and sorting (n=95): time 0.007534/1.211, allocations: 2.451 MB / 0.8923 GB, free: 17.18 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.967e-05/1.211, allocations: 62.06 kB / 0.8924 GB, free: 17.11 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001777/1.213, allocations: 1.198 MB / 0.8935 GB, free: 16.96 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002106/1.213, allocations: 51.61 kB / 0.8936 GB, free: 16.93 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004041/1.214, allocations: 0.5384 MB / 0.8941 GB, free: 16.76 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003102/1.214, allocations: 327.8 kB / 0.8944 GB, free: 16.56 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003479/1.214, allocations: 188.5 kB / 0.8946 GB, free: 16.54 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001318/1.215, allocations: 345.9 kB / 0.8949 GB, free: 16.23 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002016/1.217, allocations: 0.6987 MB / 0.8956 GB, free: 16.23 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002009/1.219, allocations: 0.9091 MB / 0.8965 GB, free: 16.05 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003746/1.222, allocations: 1.557 MB / 0.898 GB, free: 15.89 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.666e-06/1.222, allocations: 6.5 kB / 0.898 GB, free: 15.89 MB / 0.7012 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004494/1.227, allocations: 1.773 MB / 0.8998 GB, free: 15.73 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/1.227, allocations: 6.844 kB / 0.8998 GB, free: 15.73 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/1.227, allocations: 3.719 kB / 0.8998 GB, free: 15.73 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.578e-05/1.227, allocations: 14.06 kB / 0.8998 GB, free: 15.72 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001663/1.229, allocations: 339.6 kB / 0.9001 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.992e-05/1.229, allocations: 13.22 kB / 0.9001 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001804/1.231, allocations: 230.2 kB / 0.9004 GB, free: 15.66 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001243/1.231, allocations: 50.11 kB / 0.9004 GB, free: 15.65 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.0007243/1.231, allocations: 343.7 kB / 0.9007 GB, free: 15.53 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002807/1.232, allocations: 135.9 kB / 0.9009 GB, free: 15.46 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004483/1.236, allocations: 1.802 MB / 0.9026 GB, free: 15.34 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/1.236, allocations: 8.5 kB / 0.9026 GB, free: 15.34 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/1.236, allocations: 6.469 kB / 0.9026 GB, free: 15.34 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.412e-05/1.236, allocations: 4.641 kB / 0.9026 GB, free: 15.34 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007435/1.244, allocations: 3.316 MB / 0.9059 GB, free: 14.83 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.198e-06/1.244, allocations: 6.156 kB / 0.9059 GB, free: 14.83 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001576/1.245, allocations: 297.1 kB / 0.9062 GB, free: 14.81 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.2e-05/1.245, allocations: 10.06 kB / 0.9062 GB, free: 14.81 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.449e-05/1.245, allocations: 29.3 kB / 0.9062 GB, free: 14.81 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.086e-05/1.245, allocations: 9.641 kB / 0.9062 GB, free: 14.81 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.171e-06/1.245, allocations: 8.438 kB / 0.9062 GB, free: 14.81 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006476/1.252, allocations: 2.845 MB / 0.909 GB, free: 14.38 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007698/1.253, allocations: 323.5 kB / 0.9093 GB, free: 14.2 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002189/1.253, allocations: 25.08 kB / 0.9093 GB, free: 14.2 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001318/1.254, allocations: 158.1 kB / 0.9095 GB, free: 14.2 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001529/1.254, allocations: 73.72 kB / 0.9096 GB, free: 14.19 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-05/1.255, allocations: 43.14 kB / 0.9096 GB, free: 14.19 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001058/1.256, allocations: 0.8303 MB / 0.9104 GB, free: 14.08 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.91e-07/1.256, allocations: 0 / 0.9104 GB, free: 14.08 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001169/1.257, allocations: 335.4 kB / 0.9107 GB, free: 14.06 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,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 (95): * Single equations (assignments): 89 * 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.007846/1.265, allocations: 3.838 MB / 0.9145 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.004278/1.269, allocations: 1.628 MB / 0.9161 GB, free: 12.93 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 8.767e-06/1.269, allocations: 7.75 kB / 0.9161 GB, free: 12.92 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.002048/1.271, allocations: 0.8282 MB / 0.9169 GB, free: 12.9 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002834/1.274, allocations: 0.6218 MB / 0.9175 GB, free: 12.79 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02302/1.297, allocations: 12.03 MB / 0.9292 GB, free: 9.691 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006762/1.298, allocations: 1.189 MB / 0.9304 GB, free: 8.973 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001464/1.299, allocations: 358.1 kB / 0.9307 GB, free: 8.879 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007297/1.3, allocations: 0.5069 MB / 0.9312 GB, free: 8.867 MB / 0.7012 GB Notification: Performance of SimCode: time 1.192e-06/1.3, allocations: 1.203 kB / 0.9312 GB, free: 8.867 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07224/1.372, allocations: 36.25 MB / 0.9666 GB, free: 9.758 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/11.89, allocations: 13.7 kB / 0.9666 GB, free: 9.75 MB / 0.7325 GB (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)