Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo", uses=false) Using package OpenHydraulics with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(OpenHydraulics.DevelopmentTests.GenericRestrictionTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.GenericRestrictionTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTest",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.001236/0.001236, 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.001157/0.001157, allocations: 193.8 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.217/1.217, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05383/0.05383, allocations: 11.84 MB / 281.6 MB, free: 9.426 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenHydraulics requested package Modelica of version 3.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 75.83 kB / 341.9 MB, free: 21.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06761/0.06906, allocations: 49.22 MB / 391.2 MB, free: 4.602 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTest): time 0.004349/0.07344, allocations: 2.889 MB / 394 MB, free: 1.691 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002775/0.07623, allocations: 2.005 MB / 396.1 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001836/0.07644, allocations: 4 kB / 396.1 MB, free: 15.67 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000266/0.07673, allocations: 59.48 kB / 396.1 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004257/0.07717, allocations: 154.9 kB / 396.3 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008578/0.07804, allocations: 382.7 kB / 396.6 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004031/0.07845, allocations: 370.3 kB / 397 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001785/0.07864, allocations: 81.5 kB / 397.1 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001844/0.07883, allocations: 131.5 kB / 397.2 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002252/0.07907, allocations: 155.3 kB / 397.4 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.803e-05/0.07912, allocations: 24 kB / 397.4 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004233/0.07955, allocations: 247.8 kB / 397.6 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.951e-05/0.07963, allocations: 63.7 kB / 397.7 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001576/0.0798, allocations: 151.3 kB / 397.8 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000549/0.08035, allocations: 454.7 kB / 398.3 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.08037, allocations: 0 / 398.3 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.08038, allocations: 7.938 kB / 398.3 MB, free: 13.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.182e-05/0.08039, allocations: 0 / 398.3 MB, free: 13.43 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0008463/0.08125, allocations: 0.5846 MB / 398.9 MB, free: 12.8 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.08129, allocations: 19.89 kB / 398.9 MB, free: 12.78 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.905e-05/0.08136, allocations: 62.72 kB / 399 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.08147, allocations: 28.66 kB / 399 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002921/0.08177, allocations: 271.6 kB / 399.2 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.0818, allocations: 16.94 kB / 399.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.445e-05/0.08185, allocations: 23.94 kB / 399.3 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004519/0.08231, allocations: 275.6 kB / 399.6 MB, free: 12.06 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.08233, allocations: 3.984 kB / 399.6 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.569e-05/0.08236, allocations: 16 kB / 399.6 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.08238, allocations: 4 kB / 399.6 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003969/0.08278, allocations: 218.1 kB / 399.8 MB, free: 11.82 MB / 302.1 MB 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.001781/0.08457, allocations: 1.441 MB / 401.2 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002698/0.08485, allocations: 150.8 kB / 401.4 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001369/0.085, allocations: 76.83 kB / 401.5 MB, free: 9.965 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001729/0.08518, allocations: 166.2 kB / 401.6 MB, free: 9.766 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.08522, allocations: 38.56 kB / 401.7 MB, free: 9.719 MB / 302.1 MB Notification: Performance of pre-optimization done (n=18): time 1.393e-06/0.08523, allocations: 0 / 401.7 MB, free: 9.719 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001761/0.08699, allocations: 0.7378 MB / 402.4 MB, free: 8.93 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.08704, allocations: 51.41 kB / 402.4 MB, free: 8.867 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002503/0.0873, allocations: 270.7 kB / 402.7 MB, free: 8.59 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.08733, allocations: 29.7 kB / 402.7 MB, free: 8.555 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.55e-05/0.08743, allocations: 156.2 kB / 402.9 MB, free: 8.398 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.157e-05/0.08749, allocations: 78.89 kB / 403 MB, free: 8.32 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.763e-05/0.08758, allocations: 49.92 kB / 403 MB, free: 8.266 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.08769, allocations: 334.8 kB / 403.3 MB, free: 7.93 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/0.08788, allocations: 93.39 kB / 403.4 MB, free: 7.836 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001912/0.08808, allocations: 124.1 kB / 403.6 MB, free: 7.695 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003558/0.08844, allocations: 205.7 kB / 403.8 MB, free: 7.477 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.08845, allocations: 3.938 kB / 403.8 MB, free: 7.473 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004765/0.08893, allocations: 257.1 kB / 404 MB, free: 7.215 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.08896, allocations: 4.156 kB / 404 MB, free: 7.211 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.08897, allocations: 8.047 kB / 404 MB, free: 7.203 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.08899, allocations: 3.984 kB / 404 MB, free: 7.199 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002861/0.08928, allocations: 71.89 kB / 404.1 MB, free: 7.129 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.0893, allocations: 11.97 kB / 404.1 MB, free: 7.117 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.08944, allocations: 8 kB / 404.1 MB, free: 7.109 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.109e-05/0.08947, allocations: 15.92 kB / 404.1 MB, free: 7.094 MB / 302.1 MB Warning: Assuming fixed start value for the following 1 variables: idealPump.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of rotation of pump" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (28): * Single equations (assignments): 28 * 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.0001673/0.08964, allocations: 157.7 kB / 404.3 MB, free: 6.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.568e-05/0.08971, allocations: 23.72 kB / 404.3 MB, free: 6.906 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004949/0.09021, allocations: 243.5 kB / 404.5 MB, free: 6.664 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.09022, allocations: 0 / 404.5 MB, free: 6.664 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.09023, allocations: 0 / 404.5 MB, free: 6.664 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.09024, allocations: 0 / 404.5 MB, free: 6.664 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008709/0.09111, allocations: 0.6322 MB / 405.2 MB, free: 5.973 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.09113, allocations: 0 / 405.2 MB, free: 5.973 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000265/0.0914, allocations: 55.91 kB / 405.2 MB, free: 5.918 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.09141, allocations: 4 kB / 405.2 MB, free: 5.914 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.09143, allocations: 4 kB / 405.2 MB, free: 5.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.728e-06/0.09144, allocations: 7.984 kB / 405.2 MB, free: 5.902 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.09145, allocations: 0 / 405.2 MB, free: 5.902 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006152/0.09207, allocations: 411.9 kB / 405.6 MB, free: 5.48 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.09218, allocations: 116.8 kB / 405.8 MB, free: 5.348 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.527e-05/0.09224, allocations: 8 kB / 405.8 MB, free: 5.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.0924, allocations: 11.98 kB / 405.8 MB, free: 5.328 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.782e-05/0.09246, allocations: 23.98 kB / 405.8 MB, free: 5.305 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.09248, allocations: 4 kB / 405.8 MB, free: 5.301 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001791/0.09267, allocations: 198 kB / 406 MB, free: 5.109 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.09267, allocations: 0 / 406 MB, free: 5.109 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003958/0.09307, allocations: 115.9 kB / 406.1 MB, free: 4.996 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (idealPump.phi,circuitTank.volumeOpen.m) * 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 (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 Backend phase and start with SimCode phase: time 0.001015/0.0941, allocations: 1.006 MB / 407.1 MB, free: 3.961 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004336/0.09454, allocations: 204 kB / 407.3 MB, free: 3.762 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.09456, allocations: 4.062 kB / 407.3 MB, free: 3.758 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001702/0.09473, allocations: 91.83 kB / 407.4 MB, free: 3.668 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000421/0.09516, allocations: 72.48 kB / 407.5 MB, free: 3.598 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003378/0.09855, allocations: 2.869 MB / 410.4 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.09887, allocations: 0.7638 MB / 411.1 MB, free: 15.81 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001583/0.09904, allocations: 46.89 kB / 411.2 MB, free: 15.77 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.09917, allocations: 83.41 kB / 411.2 MB, free: 15.68 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.09918, allocations: 0 / 411.2 MB, free: 15.68 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.423/2.522, allocations: 7.695 MB / 418.9 MB, free: 8 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.245/9.767, allocations: 11.83 kB / 419 MB, free: 7.988 MB / 318.1 MB (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTest_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenHydraulics_OpenHydraulics_DevelopmentTests_GenericRestrictionTest.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe 2>&1)