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.01216/0.01216, allocations: 104.5 kB / 15.74 MB, free: 5.949 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.002964/0.002964, allocations: 192.3 kB / 16.67 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.491/2.491, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.363/1.363, allocations: 132.2 MB / 422.7 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002618/0.002619, allocations: 65.45 kB / 0.5808 GB, free: 23.96 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2493, allocations: 80.22 MB / 0.6592 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.004999/0.2544, allocations: 1.597 MB / 0.6607 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001163/0.2556, allocations: 307.9 kB / 0.661 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.2558, allocations: 0 / 0.661 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.881e-05/0.2559, allocations: 11.86 kB / 0.661 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000164/0.2561, allocations: 19.8 kB / 0.6611 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000604/0.2567, allocations: 71.84 kB / 0.6611 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002389/0.2569, allocations: 107.6 kB / 0.6612 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001872/0.2571, allocations: 23.98 kB / 0.6613 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.2573, allocations: 47.83 kB / 0.6613 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000155/0.2575, allocations: 47.78 kB / 0.6614 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.613e-05/0.2575, allocations: 4 kB / 0.6614 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001598/0.2577, allocations: 31.98 kB / 0.6614 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.422e-05/0.2578, allocations: 19.92 kB / 0.6614 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002287/0.258, allocations: 47.72 kB / 0.6615 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002874/0.2583, allocations: 106.4 kB / 0.6616 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.2583, allocations: 0 / 0.6616 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2583, allocations: 0 / 0.6616 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.583e-05/0.2584, allocations: 0 / 0.6616 GB, free: 8.32 MB / 0.4981 GB 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.0009337/0.2593, allocations: 411.9 kB / 0.6619 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.951e-05/0.2594, allocations: 12.03 kB / 0.662 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.538e-05/0.2595, allocations: 34.75 kB / 0.662 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001659/0.2611, allocations: 124.7 kB / 0.6621 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.2614, allocations: 179.4 kB / 0.6623 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.924e-05/0.2614, allocations: 8.375 kB / 0.6623 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.905e-05/0.2615, allocations: 8.125 kB / 0.6623 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009095/0.2624, allocations: 151.1 kB / 0.6624 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.2624, allocations: 0 / 0.6624 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.894e-05/0.2625, allocations: 4 kB / 0.6624 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.2625, allocations: 4 kB / 0.6624 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001295/0.2638, allocations: 151.8 kB / 0.6626 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001631/0.2655, allocations: 448.4 kB / 0.663 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/0.2666, allocations: 142.4 kB / 0.6632 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005693/0.2672, allocations: 76.91 kB / 0.6632 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.818e-05/0.2672, allocations: 0 / 0.6632 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.988e-05/0.2673, allocations: 42.5 kB / 0.6633 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.894e-06/0.2673, allocations: 0 / 0.6633 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.001987/0.2693, allocations: 241.4 kB / 0.6635 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.972e-05/0.2694, allocations: 51.41 kB / 0.6636 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002501/0.2697, allocations: 158.2 kB / 0.6637 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.098e-05/0.2697, allocations: 29.7 kB / 0.6637 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.2699, allocations: 103.9 kB / 0.6638 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.93e-05/0.2699, allocations: 15.75 kB / 0.6638 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.27, allocations: 33.62 kB / 0.6639 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.2702, allocations: 322.8 kB / 0.6642 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000586/0.2708, allocations: 72.78 kB / 0.6643 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005471/0.2714, allocations: 67.92 kB / 0.6643 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/0.2726, allocations: 136.7 kB / 0.6644 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/0.2726, allocations: 0 / 0.6644 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001357/0.274, allocations: 193.6 kB / 0.6646 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.219e-05/0.274, allocations: 7.938 kB / 0.6646 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.2741, allocations: 4 kB / 0.6646 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.2741, allocations: 0 / 0.6646 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004296/0.2745, allocations: 39.89 kB / 0.6647 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.2746, allocations: 0 / 0.6647 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003488/0.2749, allocations: 31.88 kB / 0.6647 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/0.275, allocations: 7.984 kB / 0.6647 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002492/0.2752, allocations: 112.1 kB / 0.6648 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001926/0.2754, allocations: 52.27 kB / 0.6649 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003155/0.2758, allocations: 80.2 kB / 0.665 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.146e-06/0.2758, allocations: 0 / 0.665 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0004948/0.2763, allocations: 117.4 kB / 0.6651 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.2763, allocations: 8 kB / 0.6651 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.2764, allocations: 3.938 kB / 0.6651 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.634e-06/0.2764, allocations: 0 / 0.6651 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/0.2765, allocations: 19.98 kB / 0.6651 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.2766, allocations: 0 / 0.6651 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/0.2767, allocations: 11.92 kB / 0.6651 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.2767, allocations: 8.156 kB / 0.6651 GB, free: 4.398 MB / 0.4981 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00019/0.2769, allocations: 184.2 kB / 0.6653 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.522e-05/0.277, allocations: 19.83 kB / 0.6653 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.707e-05/0.2771, allocations: 8.312 kB / 0.6653 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.2772, allocations: 4 kB / 0.6653 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.2772, allocations: 0 / 0.6653 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.2772, allocations: 0 / 0.6653 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001854/0.279, allocations: 483.8 kB / 0.6658 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.181e-05/0.2791, allocations: 4 kB / 0.6658 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003908/0.2795, allocations: 32.27 kB / 0.6658 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.485e-05/0.2795, allocations: 4 kB / 0.6658 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.09e-05/0.2796, allocations: 7.984 kB / 0.6658 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.2796, allocations: 0 / 0.6658 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.2796, allocations: 4 kB / 0.6658 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001271/0.2809, allocations: 292.9 kB / 0.6661 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001493/0.2811, allocations: 93 kB / 0.6662 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.941e-05/0.2811, allocations: 7.984 kB / 0.6662 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004134/0.2816, allocations: 23.97 kB / 0.6662 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.298e-05/0.2816, allocations: 8 kB / 0.6662 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-05/0.2817, allocations: 3.984 kB / 0.6662 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001717/0.2818, allocations: 122.7 kB / 0.6664 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.41e-07/0.2819, allocations: 0 / 0.6664 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006268/0.2825, allocations: 32 kB / 0.6664 GB, free: 2.98 MB / 0.4981 GB 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 (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.001897/0.2844, allocations: 0.8115 MB / 0.6672 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001558/0.286, allocations: 187.8 kB / 0.6674 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.2861, allocations: 0 / 0.6674 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006306/0.2867, allocations: 80.3 kB / 0.6674 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006857/0.2874, allocations: 20.27 kB / 0.6675 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007057/0.2945, allocations: 1.893 MB / 0.6693 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006621/0.2952, allocations: 0.6924 MB / 0.67 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001928/0.2955, allocations: 15.98 kB / 0.67 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000169/0.2957, allocations: 31.41 kB / 0.67 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of SimCode: time 2.435e-06/0.2957, allocations: 0 / 0.67 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03535/0.331, allocations: 2.799 MB / 0.6728 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.25/13.58, allocations: 12.94 kB / 0.6728 GB, free: 12.41 MB / 0.5137 GB (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/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)