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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.829/0.829, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 221.3 MB / 400.4 MB, free: 5.812 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 93.91 kB / 483.3 MB, free: 5.887 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.683e-05/3.698e-05, allocations: 3 kB / 0.5601 GB, free: 87.89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.1811, allocations: 82.3 MB / 0.6405 GB, free: 7.73 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6063/0.7874, allocations: 112.2 MB / 0.7501 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002207/0.7877, allocations: 77.03 kB / 0.7501 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.008539/0.7962, allocations: 3.23 MB / 0.7533 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.645e-06/0.7963, allocations: 6.766 kB / 0.7533 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.7963, allocations: 3.844 kB / 0.7533 GB, free: 27.09 MB / 0.5105 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.0005168/0.7968, allocations: 381.6 kB / 0.7537 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.7969, allocations: 11.53 kB / 0.7537 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.736e-05/0.7969, allocations: 36.36 kB / 0.7537 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007809/0.7977, allocations: 102.6 kB / 0.7538 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.7979, allocations: 181.6 kB / 0.754 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.7979, allocations: 3.938 kB / 0.754 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.651e-05/0.798, allocations: 7.625 kB / 0.754 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002224/0.7982, allocations: 108.1 kB / 0.7541 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.7982, allocations: 0 / 0.7541 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/0.7982, allocations: 0 / 0.7541 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.7982, allocations: 3.781 kB / 0.7541 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.7984, allocations: 70.42 kB / 0.7542 GB, free: 26.42 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.7994, allocations: 457.5 kB / 0.7546 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.7996, allocations: 73.3 kB / 0.7547 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.127e-05/0.7997, allocations: 33.08 kB / 0.7547 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.7997, allocations: 3.688 kB / 0.7547 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.7997, allocations: 38.5 kB / 0.7547 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.7997, allocations: 0 / 0.7547 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5): time 0.0002549/0.8, allocations: 92.17 kB / 0.7548 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.8, allocations: 58.02 kB / 0.7549 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.8002, allocations: 140.6 kB / 0.755 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.8002, allocations: 29.2 kB / 0.755 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.17e-05/0.8003, allocations: 99.62 kB / 0.7551 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.821e-05/0.8003, allocations: 23.14 kB / 0.7552 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.115e-06/0.8003, allocations: 4 kB / 0.7552 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.8004, allocations: 326.6 kB / 0.7555 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.929e-05/0.8005, allocations: 24.61 kB / 0.7555 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.019e-05/0.8006, allocations: 28.5 kB / 0.7555 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.522e-05/0.8006, allocations: 22.58 kB / 0.7556 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.8006, allocations: 0 / 0.7556 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001903/0.8008, allocations: 108.6 kB / 0.7557 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.288e-05/0.8009, allocations: 96.62 kB / 0.7558 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.8009, allocations: 4 kB / 0.7558 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.8009, allocations: 0 / 0.7558 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002856/0.8012, allocations: 49.83 kB / 0.7558 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/0.8012, allocations: 3.938 kB / 0.7558 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002303/0.8015, allocations: 34.73 kB / 0.7558 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.914e-05/0.8015, allocations: 6.562 kB / 0.7558 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.065e-06/0.8015, allocations: 3.844 kB / 0.7558 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 7.949e-05/0.8016, allocations: 39.94 kB / 0.7559 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-06/0.8016, allocations: 0 / 0.7559 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.095e-06/0.8016, allocations: 3.953 kB / 0.7559 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.231e-05/0.8017, allocations: 25.78 kB / 0.7559 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-06/0.8017, allocations: 0 / 0.7559 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.059e-05/0.8018, allocations: 14.3 kB / 0.7559 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-06/0.8018, allocations: 0 / 0.7559 GB, free: 25.23 MB / 0.5105 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 () * 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 7.856e-05/0.8019, allocations: 111.6 kB / 0.756 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.664e-05/0.8019, allocations: 15.06 kB / 0.756 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.375e-05/0.802, allocations: 15.53 kB / 0.7561 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.802, allocations: 3.953 kB / 0.7561 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.802, allocations: 0 / 0.7561 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.802, allocations: 2.859 kB / 0.7561 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000443/0.8025, allocations: 391.5 kB / 0.7564 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.8025, allocations: 3.75 kB / 0.7564 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002521/0.8027, allocations: 42.55 kB / 0.7565 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.8028, allocations: 3.938 kB / 0.7565 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.8028, allocations: 7.141 kB / 0.7565 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.8028, allocations: 0 / 0.7565 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.8028, allocations: 0 / 0.7565 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002218/0.803, allocations: 238.2 kB / 0.7567 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.14e-05/0.8031, allocations: 94.77 kB / 0.7568 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/0.8031, allocations: 0 / 0.7568 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002561/0.8034, allocations: 35 kB / 0.7568 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.703e-05/0.8034, allocations: 2.109 kB / 0.7569 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.8035, allocations: 6.141 kB / 0.7569 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 7.883e-05/0.8035, allocations: 116.8 kB / 0.757 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8036, allocations: 0 / 0.757 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002908/0.8039, allocations: 36.56 kB / 0.757 GB, free: 24.4 MB / 0.5105 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 () * 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.0005801/0.8044, allocations: 0.9056 MB / 0.7579 GB, free: 23.54 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002159/0.8047, allocations: 92.14 kB / 0.758 GB, free: 23.53 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.8047, allocations: 0 / 0.758 GB, free: 23.53 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 7.017e-05/0.8048, allocations: 35.08 kB / 0.758 GB, free: 23.53 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001974/0.805, allocations: 12.11 kB / 0.758 GB, free: 23.52 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007928/0.8058, allocations: 212.6 kB / 0.7582 GB, free: 23.38 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.8061, allocations: 0.7004 MB / 0.7589 GB, free: 22.69 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001154/0.8062, allocations: 17.88 kB / 0.7589 GB, free: 22.68 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.032e-05/0.8063, allocations: 40.69 kB / 0.759 GB, free: 22.67 MB / 0.5105 GB Notification: Performance of SimCode: time 5.81e-07/0.8063, allocations: 0 / 0.759 GB, free: 22.67 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01377/0.8201, allocations: 2.468 MB / 0.7614 GB, free: 21.89 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001478/0.8203, allocations: 159.3 kB / 0.7615 GB, free: 21.67 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.552/2.373, allocations: 4 kB / 0.7615 GB, free: 21.66 MB / 0.5105 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/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)