Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.263/1.263, allocations: 225.6 MB / 249.3 MB, free: 3.172 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9599/0.9599, allocations: 175.7 MB / 480.1 MB, free: 2.77 MB / 366.1 MB " [Timeout remaining time 179] 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.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001789/0.001789, allocations: 68.91 kB / 0.6678 GB, free: 10.94 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1494, allocations: 94.53 MB / 0.7601 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.4919/0.6413, allocations: 195.2 MB / 0.9507 GB, free: 4.191 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01003/0.6514, allocations: 6.988 MB / 0.9575 GB, free: 14.51 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001128/0.6525, allocations: 47.72 kB / 0.9575 GB, free: 14.49 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001803/0.6543, allocations: 0.7059 MB / 0.9582 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.005333/0.6596, allocations: 2.442 MB / 0.9606 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.003057/0.6627, allocations: 1.449 MB / 0.962 GB, free: 10.96 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.003815/0.6665, allocations: 2.995 MB / 0.965 GB, free: 8.289 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001188/0.6677, allocations: 0.7091 MB / 0.9656 GB, free: 7.57 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003487/0.6712, allocations: 1.582 MB / 0.9672 GB, free: 5.988 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001574/0.6727, allocations: 0.8464 MB / 0.968 GB, free: 5.148 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0002329/0.673, allocations: 100 kB / 0.9681 GB, free: 5.051 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003797/0.6768, allocations: 2.132 MB / 0.9702 GB, free: 2.914 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0004837/0.6773, allocations: 378.7 kB / 0.9706 GB, free: 2.543 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0007846/0.678, allocations: 0.583 MB / 0.9711 GB, free: 1.957 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.003546/0.6816, allocations: 2.397 MB / 0.9735 GB, free: 15.56 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.6816, allocations: 0 / 0.9735 GB, free: 15.56 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.133e-06/0.6816, allocations: 0 / 0.9735 GB, free: 15.56 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.123e-05/0.6816, allocations: 0 / 0.9735 GB, free: 15.56 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003551/0.6852, allocations: 1.677 MB / 0.9751 GB, free: 13.82 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.6852, allocations: 8.031 kB / 0.9751 GB, free: 13.81 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001576/0.6854, allocations: 114.5 kB / 0.9752 GB, free: 13.69 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00284/0.6882, allocations: 0.5377 MB / 0.9757 GB, free: 13.15 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002125/0.6903, allocations: 1.046 MB / 0.9768 GB, free: 12.06 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.735e-05/0.6904, allocations: 57.31 kB / 0.9768 GB, free: 12 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.6905, allocations: 67.98 kB / 0.9769 GB, free: 11.94 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002314/0.6928, allocations: 1.109 MB / 0.978 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.6928, allocations: 0 / 0.978 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.453e-05/0.6929, allocations: 28 kB / 0.978 GB, free: 10.78 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-05/0.693, allocations: 33.3 kB / 0.978 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00302/0.696, allocations: 1.164 MB / 0.9792 GB, free: 9.578 MB / 0.7169 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.005317/0.7013, allocations: 3.179 MB / 0.9823 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001651/0.7029, allocations: 0.6506 MB / 0.9829 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007846/0.7037, allocations: 400.6 kB / 0.9833 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000947/0.7047, allocations: 1.017 MB / 0.9843 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009946/0.7057, allocations: 0.5143 MB / 0.9848 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=57): time 1.663e-06/0.7057, allocations: 3.938 kB / 0.9848 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of matching and sorting (n=57): time 0.002884/0.7086, allocations: 1.241 MB / 0.986 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.785e-05/0.7086, allocations: 132.9 kB / 0.9861 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001816/0.7105, allocations: 1.18 MB / 0.9873 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.061e-05/0.7105, allocations: 37.7 kB / 0.9873 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003768/0.7109, allocations: 441.8 kB / 0.9877 GB, free: 396 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001654/0.7111, allocations: 202.3 kB / 0.9879 GB, free: 192 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002612/0.7113, allocations: 142.1 kB / 0.9881 GB, free: 44 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.7115, allocations: 326 kB / 0.9884 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001217/0.7127, allocations: 444.9 kB / 0.9888 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001413/0.7141, allocations: 0.5984 MB / 0.9894 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002033/0.7161, allocations: 0.9184 MB / 0.9903 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.7161, allocations: 4 kB / 0.9903 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003069/0.7192, allocations: 1.194 MB / 0.9915 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.641e-05/0.7193, allocations: 41.69 kB / 0.9915 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.7193, allocations: 4 kB / 0.9915 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/0.7193, allocations: 12.22 kB / 0.9915 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009131/0.7202, allocations: 191.7 kB / 0.9917 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/0.7202, allocations: 8.75 kB / 0.9917 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001398/0.7216, allocations: 248.6 kB / 0.9919 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.372e-05/0.7217, allocations: 39.97 kB / 0.992 GB, free: 11.91 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * 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.0004888/0.7222, allocations: 319.9 kB / 0.9923 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001904/0.7224, allocations: 123.2 kB / 0.9924 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002159/0.7245, allocations: 0.9999 MB / 0.9934 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.567e-05/0.7246, allocations: 12 kB / 0.9934 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.7246, allocations: 7.984 kB / 0.9934 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.7246, allocations: 0 / 0.9934 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004731/0.7293, allocations: 3.178 MB / 0.9965 GB, free: 7.109 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.829e-06/0.7293, allocations: 8 kB / 0.9965 GB, free: 7.102 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005681/0.7299, allocations: 120.1 kB / 0.9966 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.217e-05/0.7299, allocations: 12 kB / 0.9966 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.277e-05/0.73, allocations: 24.5 kB / 0.9967 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.228e-05/0.73, allocations: 15.94 kB / 0.9967 GB, free: 6.934 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.396e-06/0.73, allocations: 11.94 kB / 0.9967 GB, free: 6.922 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002109/0.7321, allocations: 1.353 MB / 0.998 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004453/0.7325, allocations: 332 kB / 0.9983 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001408/0.7327, allocations: 27.98 kB / 0.9983 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/0.7337, allocations: 103.9 kB / 0.9984 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.7338, allocations: 63.7 kB / 0.9985 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.26e-05/0.7339, allocations: 43.97 kB / 0.9985 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001417/0.7353, allocations: 0.8482 MB / 0.9994 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7353, allocations: 0 / 0.9994 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009567/0.7363, allocations: 299.6 kB / 0.9997 GB, free: 3.719 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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.003008/0.7393, allocations: 2.129 MB / 1.002 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002282/0.7415, allocations: 0.9665 MB / 1.003 GB, free: 0.5039 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.7415, allocations: 0 / 1.003 GB, free: 0.5039 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008884/0.7424, allocations: 480.8 kB / 1.003 GB, free: 24 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002474/0.7449, allocations: 0.5527 MB / 1.004 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01545/0.7604, allocations: 9.419 MB / 1.013 GB, free: 5.66 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006824/0.761, allocations: 1.081 MB / 1.014 GB, free: 4.547 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0008495/0.7619, allocations: 272.9 kB / 1.014 GB, free: 4.281 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005033/0.7624, allocations: 355.3 kB / 1.015 GB, free: 3.934 MB / 0.7481 GB Notification: Performance of SimCode: time 8.31e-07/0.7624, allocations: 4 kB / 1.015 GB, free: 3.93 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06132/0.8237, allocations: 31.95 MB / 1.046 GB, free: 4.273 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.224/10.05, allocations: 4.062 kB / 1.046 GB, free: 4.27 MB / 0.7794 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.401950127998134]