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: translateModel(IDEAS.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity") translateModel(IDEAS.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 102.9 kB / 16.27 MB, free: 6.414 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.001444/0.001444, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.31/1.31, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8172/0.8172, allocations: 135.2 MB / 426.2 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 71.88 kB / 0.506 GB, free: 8.348 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3362, allocations: 80.91 MB / 0.5851 GB, free: 25.17 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.1762/0.5125, allocations: 167.4 MB / 0.7485 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002717/0.5152, allocations: 1.561 MB / 0.75 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002347/0.5155, allocations: 11.94 kB / 0.7501 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004467/0.516, allocations: 146.9 kB / 0.7502 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001549/0.5176, allocations: 0.7117 MB / 0.7509 GB, free: 140 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.3023/0.8199, allocations: 0.5889 MB / 0.7515 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008996/0.8208, allocations: 0.7163 MB / 0.7522 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003494/0.8212, allocations: 242.8 kB / 0.7524 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006091/0.8218, allocations: 342.6 kB / 0.7527 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000272/0.8221, allocations: 226.5 kB / 0.7529 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.148e-05/0.8221, allocations: 23.47 kB / 0.753 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001247/0.8234, allocations: 0.8661 MB / 0.7538 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.8235, allocations: 107.5 kB / 0.7539 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001541/0.8236, allocations: 174.9 kB / 0.7541 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008162/0.8245, allocations: 0.7379 MB / 0.7548 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.8245, allocations: 0 / 0.7548 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.262e-06/0.8245, allocations: 1.094 kB / 0.7548 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.643e-06/0.8245, allocations: 0.9062 kB / 0.7548 GB, free: 2.27 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.0009255/0.8254, allocations: 0.6643 MB / 0.7555 GB, free: 17.78 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.8255, allocations: 12.2 kB / 0.7555 GB, free: 17.78 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/0.8265, allocations: 153.4 kB / 0.7556 GB, free: 17.76 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003524/0.8269, allocations: 313.1 kB / 0.7559 GB, free: 17.53 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.8269, allocations: 23.27 kB / 0.7559 GB, free: 17.53 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.615e-05/0.827, allocations: 23.69 kB / 0.756 GB, free: 17.53 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003983/0.8274, allocations: 284.5 kB / 0.7562 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.8274, allocations: 0 / 0.7562 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.169e-05/0.8274, allocations: 11.19 kB / 0.7562 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.8274, allocations: 4.312 kB / 0.7562 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003485/0.8278, allocations: 209.6 kB / 0.7564 GB, free: 17.45 MB / 0.5919 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.00127/0.8291, allocations: 1.221 MB / 0.7576 GB, free: 16.62 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002398/0.8293, allocations: 158 kB / 0.7578 GB, free: 16.59 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001796/0.8295, allocations: 95.77 kB / 0.7579 GB, free: 16.58 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006332/0.8301, allocations: 302.6 kB / 0.7582 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.8302, allocations: 39.09 kB / 0.7582 GB, free: 16.26 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=17): time 1.252e-06/0.8302, allocations: 0 / 0.7582 GB, free: 16.26 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17): time 0.0007326/0.8309, allocations: 292.7 kB / 0.7585 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.831, allocations: 55.02 kB / 0.7585 GB, free: 16.15 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003434/0.8313, allocations: 325.3 kB / 0.7588 GB, free: 16.04 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.8314, allocations: 30.61 kB / 0.7589 GB, free: 16.01 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.8315, allocations: 184.8 kB / 0.759 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.158e-05/0.8316, allocations: 58.61 kB / 0.7591 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.412e-05/0.8316, allocations: 47.72 kB / 0.7591 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.8318, allocations: 343.8 kB / 0.7595 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/0.832, allocations: 66.67 kB / 0.7595 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002188/0.8322, allocations: 125.6 kB / 0.7597 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003453/0.8325, allocations: 194.4 kB / 0.7598 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.8326, allocations: 4.75 kB / 0.7598 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004821/0.833, allocations: 256 kB / 0.7601 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.8331, allocations: 5.594 kB / 0.7601 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.8331, allocations: 1.75 kB / 0.7601 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.8331, allocations: 3.047 kB / 0.7601 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002073/0.8333, allocations: 49.39 kB / 0.7602 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.8333, allocations: 4.734 kB / 0.7602 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001876/0.8335, allocations: 29.86 kB / 0.7602 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.713e-05/0.8336, allocations: 11.05 kB / 0.7602 GB, free: 15.38 MB / 0.5919 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.0001472/0.8337, allocations: 160.2 kB / 0.7603 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.35e-05/0.8338, allocations: 32.08 kB / 0.7604 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004933/0.8343, allocations: 230.1 kB / 0.7606 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.8343, allocations: 3.219 kB / 0.7606 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.8343, allocations: 3.188 kB / 0.7606 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.8343, allocations: 2.438 kB / 0.7606 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.8354, allocations: 0.7058 MB / 0.7613 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.8354, allocations: 1.906 kB / 0.7613 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001756/0.8356, allocations: 37.42 kB / 0.7613 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.8356, allocations: 3.125 kB / 0.7613 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.8356, allocations: 6.75 kB / 0.7613 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.8356, allocations: 8.953 kB / 0.7614 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.8356, allocations: 5.031 kB / 0.7614 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000685/0.8363, allocations: 450.6 kB / 0.7618 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001264/0.8365, allocations: 122.9 kB / 0.7619 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.69e-05/0.8365, allocations: 4.594 kB / 0.7619 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/0.8367, allocations: 17.09 kB / 0.7619 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.111e-05/0.8367, allocations: 18.2 kB / 0.7619 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.8368, allocations: 5.25 kB / 0.7619 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002499/0.837, allocations: 232.5 kB / 0.7622 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.01e-07/0.837, allocations: 3.188 kB / 0.7622 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004055/0.8374, allocations: 86.22 kB / 0.7623 GB, free: 14.43 MB / 0.5919 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.0003971/0.8378, allocations: 171 kB / 0.7624 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004427/0.8383, allocations: 188.3 kB / 0.7626 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.8383, allocations: 3.297 kB / 0.7626 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001813/0.8385, allocations: 94.66 kB / 0.7627 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008722/0.8394, allocations: 178.1 kB / 0.7629 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.8405, allocations: 0.6604 MB / 0.7635 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004417/0.841, allocations: 0.7816 MB / 0.7643 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.667e-05/0.8411, allocations: 30.38 kB / 0.7643 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of SimCode: time 2.21e-07/0.8411, allocations: 1.438 kB / 0.7643 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of Templates: time 0.007791/0.8489, allocations: 4.933 MB / 0.7691 GB, free: 13.05 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.pipe 2>&1)