Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",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.01294/0.01294, allocations: 99.31 kB / 15.73 MB, free: 6.051 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.002582/0.002582, allocations: 188.9 kB / 16.67 MB, free: 5.977 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.337/2.337, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.269/1.269, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002431/0.002432, allocations: 63.91 kB / 0.5809 GB, free: 8.047 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8135/0.8159, allocations: 80.21 MB / 0.6592 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.003803/0.8198, allocations: 1.242 MB / 0.6604 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001652/0.8215, allocations: 0.5945 MB / 0.661 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.211e-05/0.8216, allocations: 0 / 0.661 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.214e-05/0.8217, allocations: 1.312 kB / 0.661 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.398e-05/0.8218, allocations: 0.75 kB / 0.661 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001095/0.8229, allocations: 138.9 kB / 0.6611 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.674e-05/0.8231, allocations: 13.69 kB / 0.6611 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.592e-05/0.8232, allocations: 2.688 kB / 0.6611 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.239e-05/0.8232, allocations: 6.828 kB / 0.6611 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.467e-05/0.8233, allocations: 11.88 kB / 0.6611 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.8234, allocations: 3.938 kB / 0.6611 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001026/0.8244, allocations: 340.8 kB / 0.6615 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.801e-05/0.8244, allocations: 0.6094 kB / 0.6615 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.898e-05/0.8245, allocations: 6.797 kB / 0.6615 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004937/0.825, allocations: 145.2 kB / 0.6616 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.825, allocations: 0 / 0.6616 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.055e-06/0.825, allocations: 0 / 0.6616 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.825, allocations: 1.562 kB / 0.6616 GB, free: 8.242 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005892/0.8256, allocations: 348.6 kB / 0.662 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.387e-05/0.8257, allocations: 9.625 kB / 0.662 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.802e-05/0.8258, allocations: 31.41 kB / 0.662 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.094e-05/0.8258, allocations: 2.281 kB / 0.662 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.826, allocations: 165.6 kB / 0.6622 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.826, allocations: 1.469 kB / 0.6622 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.826, allocations: 6.156 kB / 0.6622 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.8262, allocations: 33.89 kB / 0.6622 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.8262, allocations: 3.938 kB / 0.6622 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.8262, allocations: 5.5 kB / 0.6622 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.8262, allocations: 3.984 kB / 0.6622 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.083e-05/0.8263, allocations: 3.625 kB / 0.6622 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001925/0.8265, allocations: 151.2 kB / 0.6624 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.721e-05/0.8266, allocations: 24.39 kB / 0.6624 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.414e-05/0.8266, allocations: 12 kB / 0.6624 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.277e-05/0.8267, allocations: 1.531 kB / 0.6624 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.8267, allocations: 39.27 kB / 0.6624 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.383e-06/0.8267, allocations: 0 / 0.6624 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002461/0.827, allocations: 41.72 kB / 0.6625 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.827, allocations: 52.16 kB / 0.6625 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.221e-05/0.8271, allocations: 98.05 kB / 0.6626 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.8272, allocations: 26.27 kB / 0.6626 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.675e-05/0.8272, allocations: 81.73 kB / 0.6627 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.383e-05/0.8273, allocations: 12.64 kB / 0.6627 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.381e-05/0.8273, allocations: 13.22 kB / 0.6627 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.8275, allocations: 316.7 kB / 0.663 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.973e-05/0.8275, allocations: 1.891 kB / 0.663 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.282e-05/0.8276, allocations: 3.266 kB / 0.663 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.618e-05/0.8276, allocations: 17.89 kB / 0.6631 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.8276, allocations: 0 / 0.6631 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.617e-05/0.8277, allocations: 44.61 kB / 0.6631 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/0.8278, allocations: 5.375 kB / 0.6631 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.8278, allocations: 0.5625 kB / 0.6631 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.73e-05/0.8278, allocations: 5.188 kB / 0.6631 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002801/0.8281, allocations: 13.34 kB / 0.6631 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004079/0.8286, allocations: 0.5831 MB / 0.6637 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.619e-05/0.8286, allocations: 1.562 kB / 0.6637 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.8286, allocations: 8.062 kB / 0.6637 GB, free: 5.988 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.236e-05/0.8287, allocations: 112.8 kB / 0.6638 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.432e-05/0.8287, allocations: 1.812 kB / 0.6638 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001858/0.8289, allocations: 44.22 kB / 0.6639 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.829, allocations: 0.5625 kB / 0.6639 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.829, allocations: 1.281 kB / 0.6639 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.829, allocations: 0 / 0.6639 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.8291, allocations: 151.1 kB / 0.664 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.8291, allocations: 5.406 kB / 0.664 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.8293, allocations: 9.312 kB / 0.664 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.8293, allocations: 1.344 kB / 0.664 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.8293, allocations: 0.6094 kB / 0.664 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003152/0.8296, allocations: 0.5985 MB / 0.6646 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.8296, allocations: 1.531 kB / 0.6646 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001117/0.8298, allocations: 64.8 kB / 0.6647 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.735e-05/0.8298, allocations: 77.72 kB / 0.6647 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/0.8299, allocations: 5.984 kB / 0.6647 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.974e-05/0.8299, allocations: 0 / 0.6647 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.213e-05/0.8299, allocations: 5.906 kB / 0.6648 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.8299, allocations: 1.062 kB / 0.6648 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.106e-05/0.83, allocations: 77.8 kB / 0.6648 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.83, allocations: 5.438 kB / 0.6648 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003815/0.8304, allocations: 10.22 kB / 0.6648 GB, free: 4.773 MB / 0.4981 GB 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004459/0.8308, allocations: 0.6079 MB / 0.6654 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002547/0.8311, allocations: 21.22 kB / 0.6655 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.247e-06/0.8311, allocations: 3.938 kB / 0.6655 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.8313, allocations: 12.64 kB / 0.6655 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/0.8315, allocations: 12.67 kB / 0.6655 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007366/0.8323, allocations: 148.5 kB / 0.6656 GB, free: 4 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001489/0.8324, allocations: 0.6739 MB / 0.6663 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.463e-05/0.8325, allocations: 4.125 kB / 0.6663 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.434e-05/0.8325, allocations: 9.453 kB / 0.6663 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of SimCode: time 4.71e-07/0.8325, allocations: 3.938 kB / 0.6663 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03782/0.8704, allocations: 1.369 MB / 0.6676 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 16/16.87, allocations: 3 kB / 0.6676 GB, free: 2.723 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)