Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.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/package.mo", uses=false) 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.Sensors.Examples.VolumeFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate",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.001276/0.001276, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 191.2 kB / 16.67 MB, free: 6.539 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.46/1.46, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8163/0.8163, allocations: 132.2 MB / 422.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 67.89 kB / 0.5809 GB, free: 8.012 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.416/0.418, allocations: 80.21 MB / 0.6592 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1909/0.6089, allocations: 167.3 MB / 0.8226 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002759/0.6117, allocations: 1.554 MB / 0.8241 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002251/0.612, allocations: 11.94 kB / 0.8242 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0004678/0.6125, allocations: 142.9 kB / 0.8243 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001632/0.6141, allocations: 0.7117 MB / 0.825 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001459/0.6156, allocations: 0.5917 MB / 0.8256 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0008315/0.6165, allocations: 0.7128 MB / 0.8263 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003673/0.6168, allocations: 225.1 kB / 0.8265 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005527/0.6174, allocations: 338.8 kB / 0.8268 GB, free: 9.926 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002867/0.6177, allocations: 215.1 kB / 0.827 GB, free: 9.715 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.199e-05/0.6177, allocations: 20 kB / 0.827 GB, free: 9.695 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001451/0.6192, allocations: 0.8728 MB / 0.8279 GB, free: 8.82 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001342/0.6193, allocations: 99.7 kB / 0.828 GB, free: 8.723 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001809/0.6195, allocations: 171.1 kB / 0.8281 GB, free: 8.555 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001129/0.6207, allocations: 0.7291 MB / 0.8288 GB, free: 7.828 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.6207, allocations: 0 / 0.8288 GB, free: 7.828 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.482e-06/0.6207, allocations: 4 kB / 0.8288 GB, free: 7.824 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.144e-05/0.6207, allocations: 0 / 0.8288 GB, free: 7.824 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001044/0.6218, allocations: 0.6653 MB / 0.8295 GB, free: 7.109 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.6218, allocations: 12.02 kB / 0.8295 GB, free: 7.098 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.197e-05/0.6219, allocations: 54.55 kB / 0.8296 GB, free: 7.035 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001123/0.623, allocations: 159.6 kB / 0.8297 GB, free: 6.879 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005225/0.6235, allocations: 321.9 kB / 0.83 GB, free: 6.52 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.812e-05/0.6236, allocations: 24.38 kB / 0.83 GB, free: 6.496 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.346e-05/0.6236, allocations: 20 kB / 0.8301 GB, free: 6.477 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000508/0.6241, allocations: 275.5 kB / 0.8303 GB, free: 6.191 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.6242, allocations: 0 / 0.8303 GB, free: 6.191 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.489e-05/0.6242, allocations: 12 kB / 0.8303 GB, free: 6.18 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/0.6242, allocations: 7.984 kB / 0.8303 GB, free: 6.172 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004254/0.6246, allocations: 191.8 kB / 0.8305 GB, free: 5.984 MB / 0.6544 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.001508/0.6262, allocations: 1.229 MB / 0.8317 GB, free: 4.652 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002992/0.6265, allocations: 130.5 kB / 0.8319 GB, free: 4.516 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001887/0.6267, allocations: 96.8 kB / 0.8319 GB, free: 4.418 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006141/0.6273, allocations: 307.2 kB / 0.8322 GB, free: 4.062 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.6273, allocations: 30.56 kB / 0.8323 GB, free: 4.023 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 1.322e-06/0.6273, allocations: 0 / 0.8323 GB, free: 4.023 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.0007921/0.6281, allocations: 285.5 kB / 0.8325 GB, free: 3.738 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.574e-05/0.6282, allocations: 55.41 kB / 0.8326 GB, free: 3.672 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003582/0.6286, allocations: 312.5 kB / 0.8329 GB, free: 3.367 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.6286, allocations: 33.64 kB / 0.8329 GB, free: 3.328 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.6288, allocations: 184.3 kB / 0.8331 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.297e-05/0.6288, allocations: 55.53 kB / 0.8332 GB, free: 3.09 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.33e-05/0.6289, allocations: 45.66 kB / 0.8332 GB, free: 3.039 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.6291, allocations: 342.8 kB / 0.8335 GB, free: 2.695 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001704/0.6293, allocations: 63.95 kB / 0.8336 GB, free: 2.633 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/0.6295, allocations: 121.1 kB / 0.8337 GB, free: 2.496 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003793/0.6299, allocations: 189 kB / 0.8339 GB, free: 2.293 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.6299, allocations: 0 / 0.8339 GB, free: 2.293 MB / 0.6544 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004915/0.6304, allocations: 241.4 kB / 0.8341 GB, free: 2.051 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.6304, allocations: 4 kB / 0.8341 GB, free: 2.047 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.6305, allocations: 4.094 kB / 0.8341 GB, free: 2.043 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.6305, allocations: 4 kB / 0.8341 GB, free: 2.039 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002093/0.6307, allocations: 43.91 kB / 0.8342 GB, free: 1.996 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.6307, allocations: 4 kB / 0.8342 GB, free: 1.992 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001924/0.6309, allocations: 31.77 kB / 0.8342 GB, free: 1.961 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.749e-05/0.6309, allocations: 12 kB / 0.8342 GB, free: 1.949 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (22): * Single equations (assignments): 22 * 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.00015/0.6311, allocations: 146.5 kB / 0.8343 GB, free: 1.797 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.139e-05/0.6312, allocations: 31.75 kB / 0.8344 GB, free: 1.766 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004742/0.6316, allocations: 224.2 kB / 0.8346 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.922e-06/0.6317, allocations: 4 kB / 0.8346 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.6317, allocations: 0 / 0.8346 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/0.6317, allocations: 7.922 kB / 0.8346 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.6328, allocations: 0.6874 MB / 0.8353 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.6328, allocations: 4 kB / 0.8353 GB, free: 0.7617 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.6329, allocations: 31.92 kB / 0.8353 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.6329, allocations: 4 kB / 0.8353 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.633, allocations: 4.219 kB / 0.8353 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.192e-06/0.633, allocations: 12 kB / 0.8353 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.633, allocations: 7.984 kB / 0.8353 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006779/0.6337, allocations: 436.1 kB / 0.8358 GB, free: 248 kB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.6338, allocations: 120.9 kB / 0.8359 GB, free: 108 kB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.463e-05/0.6339, allocations: 8 kB / 0.8359 GB, free: 100 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001638/0.634, allocations: 7.984 kB / 0.8359 GB, free: 92 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.278e-05/0.6341, allocations: 23.98 kB / 0.8359 GB, free: 68 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.6341, allocations: 4 kB / 0.8359 GB, free: 64 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002575/0.6344, allocations: 227 kB / 0.8361 GB, free: 15.84 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6344, allocations: 0 / 0.8361 GB, free: 15.84 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0003869/0.6348, allocations: 87.88 kB / 0.8362 GB, free: 15.75 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * 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 (15): * Single equations (assignments): 15 * 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.001253/0.636, allocations: 1.024 MB / 0.8372 GB, free: 14.69 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0004477/0.6365, allocations: 171.8 kB / 0.8374 GB, free: 14.52 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.6365, allocations: 4.188 kB / 0.8374 GB, free: 14.52 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001909/0.6367, allocations: 91.83 kB / 0.8375 GB, free: 14.43 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008545/0.6376, allocations: 159.2 kB / 0.8376 GB, free: 14.27 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003714/0.6413, allocations: 2.927 MB / 0.8405 GB, free: 11.21 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004238/0.6417, allocations: 0.7756 MB / 0.8412 GB, free: 10.41 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001982/0.6419, allocations: 66.92 kB / 0.8413 GB, free: 10.34 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/0.6421, allocations: 87.41 kB / 0.8414 GB, free: 10.25 MB / 0.67 GB Notification: Performance of SimCode: time 3.7e-07/0.6421, allocations: 0 / 0.8414 GB, free: 10.25 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03221/0.6743, allocations: 8.813 MB / 0.85 GB, free: 1.656 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.304/8.978, allocations: 13.91 kB / 0.85 GB, free: 1.645 MB / 0.67 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)