Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) 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.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_BaseClasses_Validation_PowerInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="IDEAS_dev_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.0048/0.004799, allocations: 101.3 kB / 15.73 MB, free: 6.039 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.00101/0.00101, allocations: 199.1 kB / 16.67 MB, free: 5.973 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.279/1.279, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9103/0.9103, allocations: 135.1 MB / 425.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 59.91 kB / 0.5851 GB, free: 3.855 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.422/0.4235, allocations: 80.91 MB / 0.6642 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002513/0.426, allocations: 1.62 MB / 0.6657 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006164/0.4267, allocations: 295.7 kB / 0.666 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.777e-05/0.4268, allocations: 1.469 kB / 0.666 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.434e-05/0.4268, allocations: 7.875 kB / 0.666 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.834e-05/0.4269, allocations: 21.12 kB / 0.666 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003218/0.4272, allocations: 69.7 kB / 0.6661 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001278/0.4274, allocations: 112.4 kB / 0.6662 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.4275, allocations: 27.83 kB / 0.6662 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.156e-05/0.4276, allocations: 36.2 kB / 0.6663 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.4277, allocations: 48.77 kB / 0.6663 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.4277, allocations: 7.375 kB / 0.6663 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.875e-05/0.4278, allocations: 28.94 kB / 0.6664 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.201e-05/0.4278, allocations: 24.23 kB / 0.6664 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.338e-05/0.4279, allocations: 38.52 kB / 0.6664 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.4281, allocations: 114.2 kB / 0.6665 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.4281, allocations: 0 / 0.6665 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4281, allocations: 0 / 0.6665 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.042e-05/0.4281, allocations: 1.312 kB / 0.6665 GB, free: 5.414 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.0004816/0.4286, allocations: 392.2 kB / 0.6669 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.4286, allocations: 9.562 kB / 0.6669 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.672e-05/0.4287, allocations: 50.05 kB / 0.667 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009391/0.4296, allocations: 123.9 kB / 0.6671 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.4297, allocations: 176.3 kB / 0.6672 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.56e-05/0.4298, allocations: 12.67 kB / 0.6673 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/0.4298, allocations: 7.719 kB / 0.6673 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005115/0.4303, allocations: 156.6 kB / 0.6674 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.4303, allocations: 1.406 kB / 0.6674 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.4304, allocations: 3.938 kB / 0.6674 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.4304, allocations: 6.125 kB / 0.6674 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000684/0.4311, allocations: 150.9 kB / 0.6676 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009433/0.432, allocations: 441.7 kB / 0.668 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006559/0.4327, allocations: 138.5 kB / 0.6681 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003371/0.433, allocations: 77.34 kB / 0.6682 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.811e-05/0.4331, allocations: 5.328 kB / 0.6682 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.4331, allocations: 34.5 kB / 0.6682 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 2.014e-06/0.4331, allocations: 1.062 kB / 0.6682 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.001107/0.4342, allocations: 246.6 kB / 0.6685 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.4343, allocations: 56.78 kB / 0.6685 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.4344, allocations: 160.5 kB / 0.6687 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.4344, allocations: 25.7 kB / 0.6687 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.682e-05/0.4345, allocations: 96.27 kB / 0.6688 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.772e-05/0.4345, allocations: 22.23 kB / 0.6688 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.584e-05/0.4346, allocations: 28.08 kB / 0.6688 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.522e-05/0.4346, allocations: 325.4 kB / 0.6692 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003366/0.435, allocations: 76.12 kB / 0.6692 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003159/0.4353, allocations: 68.14 kB / 0.6693 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006268/0.4359, allocations: 140.7 kB / 0.6694 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.4359, allocations: 1.062 kB / 0.6694 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007521/0.4367, allocations: 180 kB / 0.6696 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.336e-05/0.4367, allocations: 11.34 kB / 0.6696 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.4368, allocations: 0 / 0.6696 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.433e-05/0.4368, allocations: 1.594 kB / 0.6696 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002725/0.4371, allocations: 45.88 kB / 0.6697 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.627e-06/0.4371, allocations: 0 / 0.6697 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002158/0.4373, allocations: 24.78 kB / 0.6697 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.4373, allocations: 6.375 kB / 0.6697 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001315/0.4375, allocations: 111.1 kB / 0.6698 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001028/0.4376, allocations: 60.7 kB / 0.6698 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001767/0.4378, allocations: 86.84 kB / 0.6699 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.052e-06/0.4378, allocations: 3.938 kB / 0.6699 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0002414/0.438, allocations: 108.1 kB / 0.67 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.438, allocations: 6.531 kB / 0.67 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.4381, allocations: 5.062 kB / 0.67 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.628e-06/0.4381, allocations: 1.531 kB / 0.6701 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.169e-05/0.4382, allocations: 20.77 kB / 0.6701 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.4382, allocations: 2.969 kB / 0.6701 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.832e-05/0.4382, allocations: 9.172 kB / 0.6701 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.4382, allocations: 1.469 kB / 0.6701 GB, free: 2.48 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 8.908e-05/0.4383, allocations: 187.5 kB / 0.6703 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.887e-05/0.4384, allocations: 19.38 kB / 0.6703 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.452e-05/0.4385, allocations: 15.55 kB / 0.6703 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.4385, allocations: 1.562 kB / 0.6703 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.4385, allocations: 0 / 0.6703 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.4385, allocations: 0 / 0.6703 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009464/0.4394, allocations: 474.3 kB / 0.6707 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.4395, allocations: 5.266 kB / 0.6708 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002293/0.4397, allocations: 34.89 kB / 0.6708 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.4397, allocations: 5.625 kB / 0.6708 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.4397, allocations: 5.281 kB / 0.6708 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.4397, allocations: 5.203 kB / 0.6708 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.4397, allocations: 1.531 kB / 0.6708 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007305/0.4405, allocations: 287.4 kB / 0.6711 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.777e-05/0.4406, allocations: 97.58 kB / 0.6712 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.301e-05/0.4406, allocations: 1.422 kB / 0.6712 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/0.4408, allocations: 27.77 kB / 0.6712 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.203e-05/0.4409, allocations: 11.44 kB / 0.6712 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.4409, allocations: 6.016 kB / 0.6712 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.246e-05/0.441, allocations: 121.7 kB / 0.6713 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.441, allocations: 0 / 0.6713 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003331/0.4413, allocations: 29.56 kB / 0.6714 GB, free: 1.34 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.001026/0.4423, allocations: 0.8244 MB / 0.6722 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009101/0.4433, allocations: 182.5 kB / 0.6723 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/0.4433, allocations: 5.094 kB / 0.6723 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003731/0.4437, allocations: 78.8 kB / 0.6724 GB, free: 464 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004174/0.4441, allocations: 7.969 kB / 0.6724 GB, free: 460 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003732/0.4478, allocations: 1.897 MB / 0.6743 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/0.4481, allocations: 0.7 MB / 0.675 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.955e-05/0.4483, allocations: 11.25 kB / 0.675 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.712e-05/0.4484, allocations: 32.44 kB / 0.675 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of SimCode: time 6.01e-07/0.4484, allocations: 0 / 0.675 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.021/0.4694, allocations: 2.754 MB / 0.6777 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.527/7.997, allocations: 7.359 kB / 0.6777 GB, free: 12.67 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Movers_BaseClasses_Validation_PowerInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Movers_BaseClasses_Validation_PowerInterface.fmu > IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)