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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008829/0.0008829, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9353/0.9353, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.728/0.728, allocations: 154.6 MB / 413.7 MB, free: 0.832 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.6181 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.401e-05/1.538e-05, allocations: 5.453 kB / 0.6181 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.4187/0.4187, allocations: 147.6 MB / 0.7622 GB, free: 8.352 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002038/0.4207, allocations: 1.494 MB / 0.7637 GB, free: 7.336 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002183/0.4209, allocations: 15 kB / 0.7637 GB, free: 7.328 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005342/0.4215, allocations: 167.9 kB / 0.7639 GB, free: 7.215 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.00141/0.4229, allocations: 0.7155 MB / 0.7646 GB, free: 6.84 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001337/0.4242, allocations: 0.6834 MB / 0.7652 GB, free: 6.504 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.000637/0.4249, allocations: 0.719 MB / 0.7659 GB, free: 6.168 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000293/0.4252, allocations: 197.7 kB / 0.7661 GB, free: 6.078 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000871/0.426, allocations: 0.6054 MB / 0.7667 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000254/0.4263, allocations: 198.8 kB / 0.7669 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.894e-05/0.4263, allocations: 22.38 kB / 0.7669 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009247/0.4272, allocations: 0.7194 MB / 0.7676 GB, free: 5.484 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.4274, allocations: 115.3 kB / 0.7677 GB, free: 5.43 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.4275, allocations: 126.6 kB / 0.7678 GB, free: 5.379 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0008183/0.4283, allocations: 0.7434 MB / 0.7686 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.4283, allocations: 1.094 kB / 0.7686 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.425e-06/0.4283, allocations: 0 / 0.7686 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.311e-06/0.4283, allocations: 0 / 0.7686 GB, free: 5.133 MB / 0.6355 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.0006696/0.429, allocations: 0.5902 MB / 0.7691 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.429, allocations: 15.75 kB / 0.7692 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.206e-05/0.4291, allocations: 56.28 kB / 0.7692 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006234/0.4297, allocations: 163.5 kB / 0.7694 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003748/0.4301, allocations: 261.6 kB / 0.7696 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/0.4301, allocations: 14.75 kB / 0.7696 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.437e-05/0.4301, allocations: 27.97 kB / 0.7697 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003887/0.4305, allocations: 286.7 kB / 0.7699 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.4305, allocations: 0 / 0.7699 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.762e-05/0.4305, allocations: 11.03 kB / 0.7699 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.4305, allocations: 5.969 kB / 0.77 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002734/0.4308, allocations: 199.7 kB / 0.7701 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008784/0.4317, allocations: 0.9883 MB / 0.7711 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002126/0.4319, allocations: 138.8 kB / 0.7712 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/0.432, allocations: 92.8 kB / 0.7713 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002716/0.4323, allocations: 79.25 kB / 0.7714 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.533e-05/0.4323, allocations: 39 kB / 0.7714 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=17): time 1.613e-06/0.4323, allocations: 0 / 0.7714 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of matching and sorting (n=17): time 0.0005115/0.4328, allocations: 301 kB / 0.7717 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.213e-05/0.4329, allocations: 57.84 kB / 0.7718 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002638/0.4331, allocations: 329.1 kB / 0.7721 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.4331, allocations: 27.31 kB / 0.7721 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.155e-05/0.4332, allocations: 183.6 kB / 0.7723 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.295e-05/0.4332, allocations: 59.95 kB / 0.7724 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.87e-05/0.4333, allocations: 46.69 kB / 0.7724 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.374e-05/0.4334, allocations: 340.4 kB / 0.7727 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.4335, allocations: 69.86 kB / 0.7728 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/0.4336, allocations: 201 kB / 0.773 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002288/0.4338, allocations: 202.9 kB / 0.7732 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.4338, allocations: 0 / 0.7732 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003376/0.4342, allocations: 261 kB / 0.7734 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.4342, allocations: 5.719 kB / 0.7734 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.4342, allocations: 5.938 kB / 0.7734 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.4342, allocations: 6.781 kB / 0.7734 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.4343, allocations: 49.86 kB / 0.7735 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.4343, allocations: 1.281 kB / 0.7735 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.4344, allocations: 30.95 kB / 0.7735 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.157e-05/0.4345, allocations: 7.391 kB / 0.7735 GB, free: 1.875 MB / 0.6355 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 8.738e-05/0.4346, allocations: 154.2 kB / 0.7737 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.135e-05/0.4346, allocations: 36.59 kB / 0.7737 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003168/0.4349, allocations: 227.8 kB / 0.7739 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.4349, allocations: 1.5 kB / 0.7739 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.4349, allocations: 1.281 kB / 0.7739 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.4349, allocations: 1.266 kB / 0.7739 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007061/0.4356, allocations: 0.6539 MB / 0.7746 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.4356, allocations: 3.75 kB / 0.7746 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.4357, allocations: 36.5 kB / 0.7746 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.4357, allocations: 2.312 kB / 0.7746 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.4358, allocations: 8.641 kB / 0.7746 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.4358, allocations: 2.859 kB / 0.7746 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.4358, allocations: 2.375 kB / 0.7746 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004714/0.4362, allocations: 451.6 kB / 0.7751 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.298e-05/0.4363, allocations: 50 kB / 0.7751 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.885e-05/0.4363, allocations: 9.016 kB / 0.7751 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.077e-05/0.4364, allocations: 7.938 kB / 0.7751 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.889e-05/0.4365, allocations: 20.22 kB / 0.7751 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.4365, allocations: 7.703 kB / 0.7751 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001857/0.4367, allocations: 233.2 kB / 0.7754 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4367, allocations: 0 / 0.7754 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003095/0.437, allocations: 86.47 kB / 0.7755 GB, free: 0.7031 MB / 0.6355 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.0007012/0.4377, allocations: 1.026 MB / 0.7765 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002991/0.438, allocations: 180.8 kB / 0.7766 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.438, allocations: 4.906 kB / 0.7766 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.4381, allocations: 91.98 kB / 0.7767 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005736/0.4387, allocations: 163.9 kB / 0.7769 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003112/0.4418, allocations: 2.983 MB / 0.7798 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001396/0.442, allocations: 184.2 kB / 0.78 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001506/0.4421, allocations: 72.72 kB / 0.78 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.4422, allocations: 95.02 kB / 0.7801 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of SimCode: time 6.12e-07/0.4422, allocations: 1.031 kB / 0.7801 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02977/0.472, allocations: 10.27 MB / 0.7902 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.194/7.666, allocations: 3.266 kB / 0.7902 GB, free: 11.23 MB / 0.6511 GB " [Timeout remaining time 652] (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 --stepSize=0.024 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Velocity.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.440506974235177] Failed to read output from testmodel.py, exit status != 0: 7.752430200576782 7.763710256 7.332671114 Calling exit ...