Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.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.Sensors.Examples.Velocity,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.Velocity,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Velocity",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.0009949/0.000995, allocations: 108 kB / 15.61 MB, free: 152 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.0009299/0.0009298, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.171/1.171, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8242/0.8242, allocations: 135.1 MB / 425.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 64.41 kB / 0.5054 GB, free: 5.223 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1347, allocations: 80.93 MB / 0.5845 GB, free: 4.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.3463/0.481, allocations: 167.4 MB / 0.7479 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002329/0.4834, allocations: 1.556 MB / 0.7494 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003024/0.4837, allocations: 12.19 kB / 0.7495 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003942/0.4841, allocations: 153.9 kB / 0.7496 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001395/0.4856, allocations: 0.7061 MB / 0.7503 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001252/0.4868, allocations: 0.6025 MB / 0.7509 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006872/0.4875, allocations: 0.7168 MB / 0.7516 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003277/0.4879, allocations: 240 kB / 0.7518 GB, free: 396 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005477/0.4884, allocations: 342.8 kB / 0.7521 GB, free: 204 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000257/0.4887, allocations: 225 kB / 0.7524 GB, free: 68 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.082e-05/0.4888, allocations: 25.84 kB / 0.7524 GB, free: 68 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001189/0.49, allocations: 0.866 MB / 0.7532 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.4901, allocations: 113.6 kB / 0.7533 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001728/0.4903, allocations: 172.8 kB / 0.7535 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009245/0.4912, allocations: 0.7222 MB / 0.7542 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.4912, allocations: 0 / 0.7542 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4912, allocations: 2.531 kB / 0.7542 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.714e-06/0.4912, allocations: 0 / 0.7542 GB, free: 14.96 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.000853/0.4921, allocations: 0.6677 MB / 0.7549 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/0.4921, allocations: 14.28 kB / 0.7549 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.023e-05/0.4922, allocations: 58.55 kB / 0.7549 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001081/0.4933, allocations: 153.2 kB / 0.7551 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003641/0.4936, allocations: 315.9 kB / 0.7554 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.4937, allocations: 23.31 kB / 0.7554 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.625e-05/0.4937, allocations: 19.38 kB / 0.7554 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004414/0.4942, allocations: 287.1 kB / 0.7557 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.4942, allocations: 0 / 0.7557 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.749e-05/0.4942, allocations: 8 kB / 0.7557 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.4942, allocations: 7.984 kB / 0.7557 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003963/0.4946, allocations: 200.9 kB / 0.7559 GB, free: 13.42 MB / 0.5762 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.001257/0.4959, allocations: 1.232 MB / 0.7571 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002557/0.4962, allocations: 154.9 kB / 0.7572 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001665/0.4963, allocations: 100.8 kB / 0.7573 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005197/0.4969, allocations: 299.2 kB / 0.7576 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.4969, allocations: 36 kB / 0.7577 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=17): time 3.616e-06/0.4969, allocations: 4 kB / 0.7577 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17): time 0.0007099/0.4976, allocations: 301.3 kB / 0.7579 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.583e-05/0.4977, allocations: 51.41 kB / 0.758 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002945/0.498, allocations: 320.5 kB / 0.7583 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.498, allocations: 29.7 kB / 0.7583 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.4981, allocations: 180.2 kB / 0.7585 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.163e-05/0.4981, allocations: 63.11 kB / 0.7586 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.563e-05/0.4982, allocations: 45.7 kB / 0.7586 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.4983, allocations: 346.8 kB / 0.7589 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.4985, allocations: 71.94 kB / 0.759 GB, free: 10 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/0.4987, allocations: 127.7 kB / 0.7591 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003408/0.4991, allocations: 197.6 kB / 0.7593 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4991, allocations: 0 / 0.7593 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004507/0.4995, allocations: 260 kB / 0.7596 GB, free: 9.391 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.4995, allocations: 4 kB / 0.7596 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.4996, allocations: 0 / 0.7596 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.4996, allocations: 4 kB / 0.7596 GB, free: 9.383 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001904/0.4998, allocations: 47.97 kB / 0.7596 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.4998, allocations: 4.484 kB / 0.7596 GB, free: 9.332 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000186/0.5, allocations: 38.8 kB / 0.7597 GB, free: 9.297 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.329e-05/0.5, allocations: 12.09 kB / 0.7597 GB, free: 9.285 MB / 0.5762 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 (24): * Single equations (assignments): 24 * 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.0001305/0.5001, allocations: 151.1 kB / 0.7598 GB, free: 9.129 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.157e-05/0.5002, allocations: 27.62 kB / 0.7598 GB, free: 9.102 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004465/0.5006, allocations: 234.8 kB / 0.7601 GB, free: 8.871 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.5007, allocations: 0 / 0.7601 GB, free: 8.871 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.5007, allocations: 7.938 kB / 0.7601 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.5007, allocations: 7.984 kB / 0.7601 GB, free: 8.855 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009115/0.5016, allocations: 0.6991 MB / 0.7608 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.5016, allocations: 4 kB / 0.7608 GB, free: 8.074 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001605/0.5018, allocations: 35.98 kB / 0.7608 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.5018, allocations: 0 / 0.7608 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.5018, allocations: 11.88 kB / 0.7608 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.5018, allocations: 7.938 kB / 0.7608 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.5018, allocations: 3.984 kB / 0.7608 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005862/0.5024, allocations: 449 kB / 0.7613 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.5025, allocations: 124.7 kB / 0.7614 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.67e-05/0.5026, allocations: 7.938 kB / 0.7614 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.5028, allocations: 14.3 kB / 0.7614 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.475e-05/0.5028, allocations: 11.98 kB / 0.7614 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.5028, allocations: 12 kB / 0.7614 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001931/0.503, allocations: 227 kB / 0.7616 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.503, allocations: 0 / 0.7616 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003481/0.5034, allocations: 95.91 kB / 0.7617 GB, free: 7.039 MB / 0.5762 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 (17): * Single equations (assignments): 17 * 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.001011/0.5044, allocations: 1.04 MB / 0.7627 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004013/0.5048, allocations: 194.3 kB / 0.7629 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.5048, allocations: 0 / 0.7629 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001835/0.505, allocations: 91.83 kB / 0.763 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007876/0.5058, allocations: 164.7 kB / 0.7632 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003175/0.509, allocations: 3.026 MB / 0.7661 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.5093, allocations: 0.7881 MB / 0.7669 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002072/0.5095, allocations: 63.92 kB / 0.767 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.5096, allocations: 91.41 kB / 0.767 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of SimCode: time 2.2e-07/0.5096, allocations: 3.938 kB / 0.767 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.15/1.659, allocations: 8.929 MB / 0.7758 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/13.53, allocations: 2.562 kB / 0.7758 GB, free: 8.656 MB / 0.5919 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Velocity.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.pipe 2>&1)