Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",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.001282/0.001282, allocations: 107.6 kB / 16.27 MB, free: 5.984 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.001268/0.001268, allocations: 191 kB / 17.2 MB, free: 5.613 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.302/1.302, 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/IBPSA 4.0.0-master/package.mo): time 0.741/0.741, allocations: 122.9 MB / 413.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 67.83 kB / 0.4912 GB, free: 7.363 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3134, allocations: 77.92 MB / 0.5673 GB, free: 32.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002167/0.3156, allocations: 1.279 MB / 0.5685 GB, free: 31.89 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008052/0.3164, allocations: 0.5901 MB / 0.5691 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.403e-05/0.3164, allocations: 2.875 kB / 0.5691 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.284e-05/0.3165, allocations: 0 / 0.5691 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.219e-05/0.3165, allocations: 9.188 kB / 0.5691 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004491/0.317, allocations: 148.5 kB / 0.5693 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.577e-05/0.317, allocations: 20.08 kB / 0.5693 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.781e-05/0.3171, allocations: 2.422 kB / 0.5693 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.019e-05/0.3171, allocations: 10.33 kB / 0.5693 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.541e-05/0.3172, allocations: 14.94 kB / 0.5693 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.3172, allocations: 1.656 kB / 0.5693 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004821/0.3177, allocations: 343.9 kB / 0.5696 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.014e-05/0.3177, allocations: 1.031 kB / 0.5696 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.283e-05/0.3177, allocations: 17.06 kB / 0.5696 GB, free: 31.28 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002506/0.318, allocations: 148.4 kB / 0.5698 GB, free: 31.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.318, allocations: 0.5625 kB / 0.5698 GB, free: 31.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.318, allocations: 5.406 kB / 0.5698 GB, free: 31.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.318, allocations: 1.062 kB / 0.5698 GB, free: 31.23 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000309/0.3183, allocations: 358.5 kB / 0.5701 GB, free: 30.85 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.3183, allocations: 9.625 kB / 0.5701 GB, free: 30.85 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.089e-05/0.3184, allocations: 32.84 kB / 0.5702 GB, free: 30.81 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.134e-05/0.3184, allocations: 4.375 kB / 0.5702 GB, free: 30.81 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.148e-05/0.3185, allocations: 167.2 kB / 0.5703 GB, free: 30.61 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.3185, allocations: 1.656 kB / 0.5703 GB, free: 30.61 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.023e-06/0.3185, allocations: 1.531 kB / 0.5703 GB, free: 30.61 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.915e-05/0.3186, allocations: 46.31 kB / 0.5704 GB, free: 30.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.3186, allocations: 3.938 kB / 0.5704 GB, free: 30.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.3186, allocations: 8.891 kB / 0.5704 GB, free: 30.56 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.3186, allocations: 1.25 kB / 0.5704 GB, free: 30.56 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.479e-05/0.3187, allocations: 12.28 kB / 0.5704 GB, free: 30.56 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002275/0.3189, allocations: 251 kB / 0.5707 GB, free: 30.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.3191, allocations: 50.27 kB / 0.5707 GB, free: 30.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.357e-05/0.3192, allocations: 18.59 kB / 0.5707 GB, free: 30.24 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/0.3192, allocations: 6.703 kB / 0.5707 GB, free: 30.24 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.341e-05/0.3192, allocations: 32.81 kB / 0.5708 GB, free: 30.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.483e-06/0.3192, allocations: 0 / 0.5708 GB, free: 30.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.000172/0.3194, allocations: 60.38 kB / 0.5708 GB, free: 30.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.118e-05/0.3194, allocations: 53.5 kB / 0.5709 GB, free: 30.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.867e-05/0.3195, allocations: 97.34 kB / 0.571 GB, free: 30 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.314e-06/0.3195, allocations: 26.8 kB / 0.571 GB, free: 29.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.429e-05/0.3195, allocations: 89.86 kB / 0.5711 GB, free: 29.88 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.648e-06/0.3195, allocations: 14.31 kB / 0.5711 GB, free: 29.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.749e-05/0.3196, allocations: 19.95 kB / 0.5711 GB, free: 29.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.861e-05/0.3196, allocations: 314.5 kB / 0.5714 GB, free: 29.53 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.956e-05/0.3196, allocations: 8.375 kB / 0.5714 GB, free: 29.53 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.431e-05/0.3197, allocations: 22.09 kB / 0.5714 GB, free: 29.51 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.491e-05/0.3197, allocations: 31.64 kB / 0.5715 GB, free: 29.48 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3197, allocations: 3.938 kB / 0.5715 GB, free: 29.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.082e-05/0.3198, allocations: 61.39 kB / 0.5715 GB, free: 29.44 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.3198, allocations: 4.594 kB / 0.5715 GB, free: 29.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3198, allocations: 1.906 kB / 0.5715 GB, free: 29.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.3199, allocations: 5.719 kB / 0.5715 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.867e-05/0.3199, allocations: 8.844 kB / 0.5715 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.3199, allocations: 1.125 kB / 0.5715 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.462e-05/0.32, allocations: 8.594 kB / 0.5716 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.32, allocations: 1.875 kB / 0.5716 GB, free: 29.43 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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 3.967e-05/0.32, allocations: 112.5 kB / 0.5717 GB, free: 29.31 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/0.32, allocations: 5.344 kB / 0.5717 GB, free: 29.31 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000116/0.3202, allocations: 71.62 kB / 0.5717 GB, free: 29.25 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3202, allocations: 2.656 kB / 0.5717 GB, free: 29.25 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.3202, allocations: 1.031 kB / 0.5717 GB, free: 29.25 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.3202, allocations: 0 / 0.5717 GB, free: 29.25 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000109/0.3203, allocations: 159.3 kB / 0.5719 GB, free: 29.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3203, allocations: 5.141 kB / 0.5719 GB, free: 29.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.626e-05/0.3204, allocations: 5.562 kB / 0.5719 GB, free: 29.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.3204, allocations: 1.812 kB / 0.5719 GB, free: 29.05 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.3204, allocations: 1.469 kB / 0.5719 GB, free: 29.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3204, allocations: 0 / 0.5719 GB, free: 29.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3204, allocations: 2.031 kB / 0.5719 GB, free: 29.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.65e-05/0.3205, allocations: 152.7 kB / 0.5721 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.784e-05/0.3205, allocations: 79.12 kB / 0.5721 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.16e-05/0.3205, allocations: 1.562 kB / 0.5721 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.962e-05/0.3206, allocations: 1.297 kB / 0.5721 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.173e-05/0.3206, allocations: 3.812 kB / 0.5721 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.3206, allocations: 1.281 kB / 0.5721 GB, free: 28.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.793e-05/0.3206, allocations: 83.25 kB / 0.5722 GB, free: 28.74 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3206, allocations: 5.812 kB / 0.5722 GB, free: 28.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002451/0.3209, allocations: 18.77 kB / 0.5722 GB, free: 28.73 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (4): * Single equations (assignments): 4 * 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.0002821/0.3212, allocations: 0.7061 MB / 0.5729 GB, free: 28.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.817e-05/0.3213, allocations: 23.44 kB / 0.573 GB, free: 28.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3213, allocations: 1.188 kB / 0.573 GB, free: 28.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.224e-05/0.3213, allocations: 17.47 kB / 0.573 GB, free: 28.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002073/0.3215, allocations: 2.875 kB / 0.573 GB, free: 28.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003964/0.3219, allocations: 152.6 kB / 0.5731 GB, free: 27.88 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001079/0.322, allocations: 0.678 MB / 0.5738 GB, free: 27.18 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.414e-05/0.3221, allocations: 9.594 kB / 0.5738 GB, free: 27.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.461e-05/0.3221, allocations: 10.48 kB / 0.5738 GB, free: 27.17 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3221, allocations: 0 / 0.5738 GB, free: 27.17 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0299/0.352, allocations: 1.366 MB / 0.5751 GB, free: 26.86 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.103/8.455, allocations: 5.719 kB / 0.5751 GB, free: 26.86 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)