Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.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.FixedResistances.Examples.FlowJunction,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_FlowJunction",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.009891/0.009891, allocations: 103 kB / 15.73 MB, free: 6.035 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.002137/0.002137, allocations: 190 kB / 16.67 MB, free: 5.965 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9759/0.9759, allocations: 135.1 MB / 425.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 63.91 kB / 0.5851 GB, free: 3.871 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4811/0.4825, allocations: 80.91 MB / 0.6641 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.7284/1.211, allocations: 239.9 MB / 0.8984 GB, free: 19.73 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01235/1.223, allocations: 7.197 MB / 0.9054 GB, free: 19.62 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00246/1.226, allocations: 54.62 kB / 0.9055 GB, free: 19.62 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002123/1.228, allocations: 0.6971 MB / 0.9061 GB, free: 19.61 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.005347/1.233, allocations: 2.067 MB / 0.9082 GB, free: 19.53 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004832/1.238, allocations: 2.041 MB / 0.9102 GB, free: 19.46 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.005385/1.244, allocations: 3.265 MB / 0.9133 GB, free: 19.45 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00201/1.246, allocations: 1.141 MB / 0.9145 GB, free: 19.34 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005102/1.251, allocations: 1.824 MB / 0.9162 GB, free: 19.32 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002572/1.253, allocations: 0.9598 MB / 0.9172 GB, free: 19.32 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002805/1.254, allocations: 122.9 kB / 0.9173 GB, free: 19.32 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005433/1.259, allocations: 2.491 MB / 0.9197 GB, free: 19.29 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0006106/1.26, allocations: 462.6 kB / 0.9202 GB, free: 19.29 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001216/1.261, allocations: 0.7183 MB / 0.9209 GB, free: 19.17 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.006415/1.267, allocations: 2.693 MB / 0.9235 GB, free: 18.87 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/1.268, allocations: 0.875 kB / 0.9235 GB, free: 18.87 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.764e-06/1.268, allocations: 0 / 0.9235 GB, free: 18.87 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.754e-05/1.268, allocations: 2.906 kB / 0.9235 GB, free: 18.87 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: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.003375/1.271, allocations: 1.712 MB / 0.9252 GB, free: 17.96 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/1.271, allocations: 11 kB / 0.9252 GB, free: 17.96 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001661/1.271, allocations: 126.8 kB / 0.9253 GB, free: 17.92 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002593/1.274, allocations: 433.5 kB / 0.9257 GB, free: 17.84 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002009/1.276, allocations: 1.015 MB / 0.9267 GB, free: 17.49 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.511e-05/1.276, allocations: 68.55 kB / 0.9268 GB, free: 17.49 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/1.276, allocations: 81.47 kB / 0.9268 GB, free: 17.49 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001725/1.278, allocations: 0.8604 MB / 0.9277 GB, free: 17.43 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.762e-05/1.278, allocations: 7.031 kB / 0.9277 GB, free: 17.43 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.134e-05/1.278, allocations: 33.34 kB / 0.9277 GB, free: 17.43 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-05/1.278, allocations: 30.56 kB / 0.9278 GB, free: 17.43 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001438/1.279, allocations: 0.8037 MB / 0.9285 GB, free: 17.42 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.004537/1.284, allocations: 3.64 MB / 0.9321 GB, free: 15.79 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001262/1.285, allocations: 1.086 MB / 0.9332 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005314/1.286, allocations: 373.1 kB / 0.9335 GB, free: 15.19 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006382/1.286, allocations: 408.2 kB / 0.9339 GB, free: 14.82 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/1.286, allocations: 47.12 kB / 0.9339 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=60): time 2.555e-06/1.286, allocations: 0.7812 kB / 0.9339 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of matching and sorting (n=60): time 0.002131/1.289, allocations: 0.9556 MB / 0.9349 GB, free: 14.68 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/1.289, allocations: 61.16 kB / 0.9349 GB, free: 14.61 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001234/1.29, allocations: 0.8358 MB / 0.9358 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 7.729e-05/1.29, allocations: 40.45 kB / 0.9358 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003104/1.29, allocations: 481.3 kB / 0.9363 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001516/1.29, allocations: 214.7 kB / 0.9365 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001704/1.291, allocations: 117.6 kB / 0.9366 GB, free: 14.1 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 5.669e-05/1.291, allocations: 328.1 kB / 0.9369 GB, free: 13.8 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004293/1.291, allocations: 251 kB / 0.9371 GB, free: 13.79 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005127/1.292, allocations: 371.5 kB / 0.9375 GB, free: 13.69 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009628/1.293, allocations: 0.5929 MB / 0.9381 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/1.293, allocations: 0 / 0.9381 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001211/1.294, allocations: 0.7333 MB / 0.9388 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/1.294, allocations: 9.5 kB / 0.9388 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/1.294, allocations: 1.062 kB / 0.9388 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/1.294, allocations: 3.594 kB / 0.9388 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005367/1.294, allocations: 127.1 kB / 0.9389 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/1.294, allocations: 6.75 kB / 0.9389 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007367/1.295, allocations: 67.41 kB / 0.939 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.489e-05/1.295, allocations: 26.38 kB / 0.939 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007148/1.296, allocations: 497.6 kB / 0.9395 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005068/1.297, allocations: 370.8 kB / 0.9398 GB, free: 13.33 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008778/1.297, allocations: 0.5779 MB / 0.9404 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.603e-06/1.297, allocations: 0.9688 kB / 0.9404 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001099/1.299, allocations: 0.7222 MB / 0.9411 GB, free: 13.19 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 8.646e-06/1.299, allocations: 6.281 kB / 0.9411 GB, free: 13.19 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-06/1.299, allocations: 0 / 0.9411 GB, free: 13.19 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.48e-06/1.299, allocations: 5.438 kB / 0.9411 GB, free: 13.19 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005047/1.299, allocations: 129.2 kB / 0.9412 GB, free: 13.19 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/1.299, allocations: 5.094 kB / 0.9412 GB, free: 13.19 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007163/1.3, allocations: 68.55 kB / 0.9413 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.223e-05/1.3, allocations: 26.62 kB / 0.9413 GB, free: 13.16 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (69): * Single equations (assignments): 69 * 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.0001652/1.3, allocations: 213.5 kB / 0.9415 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001525/1.3, allocations: 101.8 kB / 0.9416 GB, free: 12.93 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001366/1.302, allocations: 0.7463 MB / 0.9424 GB, free: 12.87 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/1.302, allocations: 8.469 kB / 0.9424 GB, free: 12.87 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/1.302, allocations: 3.938 kB / 0.9424 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001076/1.303, allocations: 0.8946 MB / 0.9432 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003326/1.306, allocations: 2.242 MB / 0.9454 GB, free: 11.69 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/1.306, allocations: 2.281 kB / 0.9454 GB, free: 11.69 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006193/1.307, allocations: 145.1 kB / 0.9456 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.728e-06/1.307, allocations: 9.266 kB / 0.9456 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.062e-05/1.307, allocations: 17.19 kB / 0.9456 GB, free: 11.67 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-06/1.307, allocations: 7.406 kB / 0.9456 GB, free: 11.67 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/1.307, allocations: 10.56 kB / 0.9456 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001722/1.308, allocations: 1.262 MB / 0.9469 GB, free: 11.01 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004482/1.309, allocations: 261.8 kB / 0.9471 GB, free: 10.81 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001491/1.309, allocations: 16.66 kB / 0.9471 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006935/1.31, allocations: 40.3 kB / 0.9472 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.917e-05/1.31, allocations: 52.66 kB / 0.9472 GB, free: 10.79 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.721e-05/1.31, allocations: 28.2 kB / 0.9472 GB, free: 10.78 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006913/1.311, allocations: 0.5832 MB / 0.9478 GB, free: 10.52 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.81e-07/1.311, allocations: 0 / 0.9478 GB, free: 10.52 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001305/1.312, allocations: 0.53 MB / 0.9483 GB, free: 10.43 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (spl.vol.dynBal.U,spl.vol.dynBal.m,spl.vol.dynBal.mXi[1],senTem1.T,senTem2.T,senTem3.T) * 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 (60): * Single equations (assignments): 60 * 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 Backend phase and start with SimCode phase: time 0.002317/1.314, allocations: 1.939 MB / 0.9502 GB, free: 9.207 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001773/1.316, allocations: 0.9461 MB / 0.9511 GB, free: 8.918 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/1.316, allocations: 0.5 kB / 0.9511 GB, free: 8.918 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.000544/1.317, allocations: 343.7 kB / 0.9515 GB, free: 8.824 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002804/1.319, allocations: 0.5993 MB / 0.9521 GB, free: 8.555 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01007/1.33, allocations: 7.57 MB / 0.9594 GB, free: 3.184 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005538/1.33, allocations: 1.131 MB / 0.9605 GB, free: 2.023 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001058/1.331, allocations: 292.1 kB / 0.9608 GB, free: 1.734 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005046/1.332, allocations: 423.3 kB / 0.9612 GB, free: 1.32 MB / 0.6856 GB Notification: Performance of SimCode: time 1.292e-06/1.332, allocations: 0 / 0.9612 GB, free: 1.32 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06348/1.395, allocations: 29.89 MB / 0.9904 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.382/10.78, allocations: 13.05 kB / 0.9904 GB, free: 3.883 MB / 0.7169 GB (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_FlowJunction_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_FlowJunction.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)