Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.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.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Dampers_Examples_MixingBox",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.007326/0.007326, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001267/0.001267, allocations: 196.3 kB / 16.67 MB, free: 5.926 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.489/1.489, allocations: 222.9 MB / 240.4 MB, free: 4.145 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.005/1.005, allocations: 135.1 MB / 425.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 55.91 kB / 0.5851 GB, free: 3.859 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5815/0.583, allocations: 80.91 MB / 0.6641 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.2141/0.7971, allocations: 189.7 MB / 0.8494 GB, free: 3.199 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.007852/0.805, allocations: 4.273 MB / 0.8536 GB, free: 14.92 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001347/0.8064, allocations: 27.81 kB / 0.8536 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001402/0.8078, allocations: 0.4967 MB / 0.8541 GB, free: 14.39 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.004039/0.8119, allocations: 1.571 MB / 0.8556 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003742/0.8157, allocations: 1.344 MB / 0.8569 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003891/0.8196, allocations: 2.276 MB / 0.8592 GB, free: 9.199 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001472/0.8211, allocations: 1.077 MB / 0.8602 GB, free: 8.113 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001788/0.8229, allocations: 0.9576 MB / 0.8611 GB, free: 7.152 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001021/0.8239, allocations: 0.8716 MB / 0.862 GB, free: 6.277 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001796/0.8241, allocations: 140 kB / 0.8621 GB, free: 6.141 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002299/0.8264, allocations: 1.247 MB / 0.8633 GB, free: 4.891 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004503/0.8268, allocations: 418.7 kB / 0.8637 GB, free: 4.48 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0006336/0.8275, allocations: 0.6414 MB / 0.8644 GB, free: 3.836 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002283/0.8298, allocations: 1.986 MB / 0.8663 GB, free: 1.844 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.8298, allocations: 7.938 kB / 0.8663 GB, free: 1.836 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.156e-06/0.8298, allocations: 0 / 0.8663 GB, free: 1.836 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.274e-05/0.8298, allocations: 3.938 kB / 0.8663 GB, free: 1.832 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.004144/0.834, allocations: 1.712 MB / 0.868 GB, free: 64 kB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/0.834, allocations: 8.031 kB / 0.868 GB, free: 56 kB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.3975/1.232, allocations: 86.3 kB / 0.8681 GB, free: 194.9 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00135/1.233, allocations: 188.4 kB / 0.8683 GB, free: 194.9 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002174/1.235, allocations: 1.081 MB / 0.8693 GB, free: 194.4 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.264e-05/1.235, allocations: 42.47 kB / 0.8694 GB, free: 194.4 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/1.235, allocations: 56.78 kB / 0.8694 GB, free: 194.4 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/1.237, allocations: 0.6086 MB / 0.87 GB, free: 194.2 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/1.237, allocations: 0.75 kB / 0.87 GB, free: 194.2 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.234e-05/1.237, allocations: 23.75 kB / 0.87 GB, free: 194.2 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.566e-05/1.237, allocations: 18.39 kB / 0.87 GB, free: 194.1 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001546/1.238, allocations: 0.6239 MB / 0.8707 GB, free: 194 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.005419/1.244, allocations: 2.668 MB / 0.8733 GB, free: 192.5 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00127/1.245, allocations: 0.5336 MB / 0.8738 GB, free: 192.3 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000715/1.246, allocations: 348.8 kB / 0.8741 GB, free: 192.2 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004242/1.246, allocations: 290.6 kB / 0.8744 GB, free: 191.9 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/1.246, allocations: 41.81 kB / 0.8744 GB, free: 191.8 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008376/1.247, allocations: 141.6 kB / 0.8746 GB, free: 191.8 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=43): time 3.126e-06/1.247, allocations: 1 kB / 0.8746 GB, free: 191.8 MB / 0.6856 GB Notification: Performance of matching and sorting (n=43): time 0.002798/1.25, allocations: 1.016 MB / 0.8756 GB, free: 191.3 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/1.25, allocations: 56.47 kB / 0.8756 GB, free: 191.3 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002301/1.252, allocations: 1.274 MB / 0.8769 GB, free: 190.6 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.968e-05/1.252, allocations: 39.2 kB / 0.8769 GB, free: 190.5 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003269/1.253, allocations: 437.1 kB / 0.8773 GB, free: 190.2 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001272/1.253, allocations: 152.1 kB / 0.8775 GB, free: 190 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002362/1.253, allocations: 116.3 kB / 0.8776 GB, free: 190 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 7.387e-05/1.253, allocations: 322.3 kB / 0.8779 GB, free: 189.7 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006607/1.254, allocations: 278.6 kB / 0.8781 GB, free: 189.5 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009054/1.255, allocations: 482.2 kB / 0.8786 GB, free: 189.1 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001406/1.256, allocations: 0.5901 MB / 0.8792 GB, free: 188.8 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/1.256, allocations: 1.406 kB / 0.8792 GB, free: 188.8 MB / 0.6856 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001696/1.258, allocations: 0.7385 MB / 0.8799 GB, free: 188.5 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/1.258, allocations: 16.72 kB / 0.8799 GB, free: 188.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/1.258, allocations: 0 / 0.8799 GB, free: 188.5 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/1.258, allocations: 1.156 kB / 0.8799 GB, free: 188.5 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006725/1.259, allocations: 119.8 kB / 0.88 GB, free: 188.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.646e-05/1.259, allocations: 0.8438 kB / 0.88 GB, free: 188.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001231/1.26, allocations: 101 kB / 0.8801 GB, free: 188.4 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.97e-05/1.26, allocations: 25.94 kB / 0.8802 GB, free: 188.4 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007913/1.261, allocations: 468.6 kB / 0.8806 GB, free: 188.1 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007774/1.262, allocations: 486.2 kB / 0.8811 GB, free: 187.7 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001288/1.263, allocations: 0.5818 MB / 0.8816 GB, free: 187.4 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.783e-06/1.263, allocations: 2 kB / 0.8816 GB, free: 187.4 MB / 0.6856 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001719/1.265, allocations: 0.7368 MB / 0.8824 GB, free: 187.1 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/1.265, allocations: 5 kB / 0.8824 GB, free: 187.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.735e-06/1.265, allocations: 0 / 0.8824 GB, free: 187.1 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.873e-06/1.265, allocations: 6.5 kB / 0.8824 GB, free: 187.1 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000617/1.265, allocations: 117.7 kB / 0.8825 GB, free: 187 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/1.265, allocations: 3.312 kB / 0.8825 GB, free: 187 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/1.267, allocations: 122.2 kB / 0.8826 GB, free: 187 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.815e-05/1.267, allocations: 30.09 kB / 0.8826 GB, free: 187 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (45): * Single equations (assignments): 45 * 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.000179/1.267, allocations: 202.1 kB / 0.8828 GB, free: 186.8 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001904/1.267, allocations: 102.7 kB / 0.8829 GB, free: 186.7 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001648/1.269, allocations: 0.8127 MB / 0.8837 GB, free: 186.2 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/1.269, allocations: 4.656 kB / 0.8837 GB, free: 186.2 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/1.269, allocations: 0 / 0.8837 GB, free: 186.2 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/1.269, allocations: 5.234 kB / 0.8837 GB, free: 186.2 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002989/1.272, allocations: 1.948 MB / 0.8856 GB, free: 184.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/1.272, allocations: 2.375 kB / 0.8856 GB, free: 184.9 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005606/1.272, allocations: 111 kB / 0.8857 GB, free: 184.9 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/1.272, allocations: 4.188 kB / 0.8857 GB, free: 184.9 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.931e-05/1.272, allocations: 23.48 kB / 0.8858 GB, free: 184.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.586e-06/1.273, allocations: 4.281 kB / 0.8858 GB, free: 184.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/1.273, allocations: 4.938 kB / 0.8858 GB, free: 184.8 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002119/1.275, allocations: 1.243 MB / 0.887 GB, free: 184.1 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004597/1.275, allocations: 287.1 kB / 0.8873 GB, free: 183.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001555/1.275, allocations: 13.75 kB / 0.8873 GB, free: 183.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009375/1.276, allocations: 62.44 kB / 0.8873 GB, free: 183.8 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/1.276, allocations: 54.33 kB / 0.8874 GB, free: 183.8 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.856e-05/1.276, allocations: 17.42 kB / 0.8874 GB, free: 183.8 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001627/1.278, allocations: 0.9207 MB / 0.8883 GB, free: 183.3 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.41e-07/1.278, allocations: 0 / 0.8883 GB, free: 183.3 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001634/1.28, allocations: 403.5 kB / 0.8887 GB, free: 183.2 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.filter.s[1],mixBox.filter.s[2]) * 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 (52): * Single equations (assignments): 52 * 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.002681/1.282, allocations: 1.902 MB / 0.8905 GB, free: 181.9 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002155/1.285, allocations: 0.946 MB / 0.8915 GB, free: 181.4 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/1.285, allocations: 0 / 0.8915 GB, free: 181.4 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0006692/1.285, allocations: 335.2 kB / 0.8918 GB, free: 181.3 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001879/1.287, allocations: 428.6 kB / 0.8922 GB, free: 181.1 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01306/1.3, allocations: 8.489 MB / 0.9005 GB, free: 176.1 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004797/1.301, allocations: 1.044 MB / 0.9015 GB, free: 175.3 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001112/1.302, allocations: 285 kB / 0.9018 GB, free: 175.1 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005762/1.302, allocations: 391 kB / 0.9021 GB, free: 174.8 MB / 0.6856 GB Notification: Performance of SimCode: time 1.092e-06/1.302, allocations: 4 kB / 0.9021 GB, free: 174.8 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05849/1.361, allocations: 30.74 MB / 0.9322 GB, free: 146.6 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.892/11.25, allocations: 10.03 kB / 0.9322 GB, free: 146.6 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Actuators_Dampers_Examples_MixingBox_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Actuators_Dampers_Examples_MixingBox.fmu > IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)