Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_BaseClasses_Validation_PowerInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_BaseClasses_Validation_PowerInterface",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.001626/0.001626, allocations: 103.1 kB / 15.06 MB, free: 1.098 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.001635/0.001635, allocations: 173.3 kB / 15.95 MB, free: 212 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.32/2.32, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.133/1.133, allocations: 132.3 MB / 423.2 MB, free: 2.188 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005441/0.0005444, allocations: 12 kB / 0.5033 GB, free: 4.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7085/0.7091, allocations: 81.58 MB / 0.583 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.00319/0.7124, allocations: 1.289 MB / 0.5842 GB, free: 3.082 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009838/0.7134, allocations: 302.9 kB / 0.5845 GB, free: 2.879 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.7136, allocations: 1 kB / 0.5845 GB, free: 2.879 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.943e-05/0.7136, allocations: 6.828 kB / 0.5845 GB, free: 2.875 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001522/0.7138, allocations: 17.64 kB / 0.5845 GB, free: 2.863 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004535/0.7142, allocations: 53.7 kB / 0.5846 GB, free: 2.84 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001752/0.7144, allocations: 71.03 kB / 0.5847 GB, free: 2.801 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001874/0.7146, allocations: 27.78 kB / 0.5847 GB, free: 2.789 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001421/0.7148, allocations: 28.84 kB / 0.5847 GB, free: 2.777 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.7149, allocations: 38.64 kB / 0.5848 GB, free: 2.758 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.368e-05/0.715, allocations: 3.406 kB / 0.5848 GB, free: 2.758 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.7151, allocations: 21.91 kB / 0.5848 GB, free: 2.754 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.86e-05/0.7151, allocations: 14.44 kB / 0.5848 GB, free: 2.746 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.611e-05/0.7152, allocations: 44.14 kB / 0.5848 GB, free: 2.703 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000197/0.7154, allocations: 71.53 kB / 0.5849 GB, free: 2.684 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.7154, allocations: 0 / 0.5849 GB, free: 2.684 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.7154, allocations: 0 / 0.5849 GB, free: 2.684 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.7154, allocations: 0 / 0.5849 GB, free: 2.684 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006855/0.7161, allocations: 391.3 kB / 0.5853 GB, free: 2.301 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.868e-05/0.7162, allocations: 8.844 kB / 0.5853 GB, free: 2.301 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.002e-05/0.7163, allocations: 42.44 kB / 0.5853 GB, free: 2.254 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001641/0.7179, allocations: 140.8 kB / 0.5855 GB, free: 2.234 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001972/0.7181, allocations: 173.6 kB / 0.5856 GB, free: 2.031 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.017e-05/0.7182, allocations: 3.438 kB / 0.5856 GB, free: 2.031 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.864e-05/0.7182, allocations: 8.344 kB / 0.5856 GB, free: 2.027 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008349/0.7191, allocations: 164.9 kB / 0.5858 GB, free: 1.961 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.7191, allocations: 1.062 kB / 0.5858 GB, free: 1.961 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.624e-05/0.7191, allocations: 8.656 kB / 0.5858 GB, free: 1.953 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.7192, allocations: 2.562 kB / 0.5858 GB, free: 1.953 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/0.7203, allocations: 172.3 kB / 0.586 GB, free: 1.922 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00131/0.7216, allocations: 460 kB / 0.5864 GB, free: 1.57 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008458/0.7225, allocations: 155.7 kB / 0.5866 GB, free: 1.52 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.352e-05/0.7225, allocations: 1.516 kB / 0.5866 GB, free: 1.52 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.7225, allocations: 36.28 kB / 0.5866 GB, free: 1.477 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.714e-06/0.7225, allocations: 0 / 0.5866 GB, free: 1.477 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.001396/0.7239, allocations: 275.1 kB / 0.5869 GB, free: 1.398 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.215e-05/0.724, allocations: 60.14 kB / 0.5869 GB, free: 1.328 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001917/0.7242, allocations: 159.5 kB / 0.5871 GB, free: 1.203 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.7242, allocations: 25.7 kB / 0.5871 GB, free: 1.172 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.825e-05/0.7243, allocations: 103.9 kB / 0.5872 GB, free: 1.074 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/0.7243, allocations: 15.75 kB / 0.5872 GB, free: 1.062 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.328e-06/0.7243, allocations: 0 / 0.5872 GB, free: 1.062 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.369e-05/0.7244, allocations: 324.2 kB / 0.5875 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004192/0.7248, allocations: 80.73 kB / 0.5876 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004053/0.7253, allocations: 81.11 kB / 0.5877 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004159/0.7257, allocations: 82.12 kB / 0.5877 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.7257, allocations: 0 / 0.5877 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0009212/0.7266, allocations: 210.7 kB / 0.5879 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.343e-05/0.7267, allocations: 95.38 kB / 0.588 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.7267, allocations: 0 / 0.588 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.7268, allocations: 0.6094 kB / 0.588 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003786/0.7271, allocations: 45.69 kB / 0.5881 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.7272, allocations: 0 / 0.5881 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003188/0.7275, allocations: 34.34 kB / 0.5881 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.765e-05/0.7275, allocations: 8.625 kB / 0.5881 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.7276, allocations: 8.422 kB / 0.5881 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002467/0.7278, allocations: 73.25 kB / 0.5882 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.415e-06/0.7278, allocations: 0 / 0.5882 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.538e-06/0.7278, allocations: 1.438 kB / 0.5882 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.623e-05/0.7279, allocations: 18 kB / 0.5882 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.7279, allocations: 4 kB / 0.5882 GB, free: 496 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.174e-05/0.728, allocations: 14.48 kB / 0.5882 GB, free: 492 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.7281, allocations: 2.344 kB / 0.5882 GB, free: 492 kB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000144/0.7282, allocations: 188.6 kB / 0.5884 GB, free: 296 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.916e-05/0.7283, allocations: 16.47 kB / 0.5884 GB, free: 284 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.389e-05/0.7284, allocations: 13.36 kB / 0.5884 GB, free: 276 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.7284, allocations: 5.281 kB / 0.5884 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.7284, allocations: 0.5625 kB / 0.5884 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.7284, allocations: 0.5156 kB / 0.5885 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001957/0.7304, allocations: 0.4935 MB / 0.5889 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.7304, allocations: 1.656 kB / 0.5889 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004173/0.7309, allocations: 49.25 kB / 0.589 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.859e-06/0.7309, allocations: 5.016 kB / 0.589 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.596e-05/0.7309, allocations: 5.203 kB / 0.589 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.7309, allocations: 1.406 kB / 0.589 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.731, allocations: 1.75 kB / 0.589 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001437/0.7324, allocations: 334.5 kB / 0.5893 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001539/0.7326, allocations: 99.28 kB / 0.5894 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.306e-05/0.7326, allocations: 5.797 kB / 0.5894 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003866/0.733, allocations: 29.17 kB / 0.5894 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.21e-05/0.7331, allocations: 12.83 kB / 0.5895 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.171e-05/0.7331, allocations: 4.781 kB / 0.5895 GB, free: 15.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001735/0.7333, allocations: 125.2 kB / 0.5896 GB, free: 15.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.7333, allocations: 0 / 0.5896 GB, free: 15.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006004/0.734, allocations: 29.72 kB / 0.5896 GB, free: 15.44 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001914/0.7359, allocations: 0.995 MB / 0.5906 GB, free: 14.56 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001524/0.7374, allocations: 212.3 kB / 0.5908 GB, free: 14.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.7375, allocations: 0.5 kB / 0.5908 GB, free: 14.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005791/0.738, allocations: 90.81 kB / 0.5909 GB, free: 14.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.7384, allocations: 11.92 kB / 0.5909 GB, free: 14.49 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004227/0.7426, allocations: 0.918 MB / 0.5918 GB, free: 13.97 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004058/0.7431, allocations: 0.702 MB / 0.5925 GB, free: 13.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001861/0.7433, allocations: 13.42 kB / 0.5925 GB, free: 13.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000152/0.7435, allocations: 33.8 kB / 0.5925 GB, free: 13.25 MB / 446.1 MB Notification: Performance of SimCode: time 1.332e-06/0.7435, allocations: 0 / 0.5925 GB, free: 13.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02354/0.767, allocations: 2.36 MB / 0.5948 GB, free: 12.96 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003222/0.7674, allocations: 176.3 kB / 0.595 GB, free: 12.72 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.638/3.406, allocations: 7.938 kB / 0.595 GB, free: 12.71 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Movers_BaseClasses_Validation_PowerInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Movers_BaseClasses_Validation_PowerInterface.fmu > IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1) Environment - environmentSimulation: