Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8661/0.8661, allocations: 177.1 MB / 202.8 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7281/0.7281, allocations: 154.5 MB / 413.7 MB, free: 0.8242 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 0.618 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.135e-05/1.26e-05, allocations: 2.281 kB / 0.618 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001655/0.001668, allocations: 1.304 MB / 0.6193 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0006649/0.002333, allocations: 0.5215 MB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.887e-05/0.002352, allocations: 7.938 kB / 0.6198 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.455e-05/0.002366, allocations: 0 / 0.6198 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.388e-05/0.0024, allocations: 3.938 kB / 0.6198 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003441/0.002744, allocations: 142.6 kB / 0.62 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 4.906e-05/0.002793, allocations: 31.84 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.101e-05/0.002824, allocations: 0 / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.893e-05/0.002853, allocations: 15.98 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.64e-05/0.00289, allocations: 4 kB / 0.62 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/0.002901, allocations: 4 kB / 0.62 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002597/0.003161, allocations: 263.4 kB / 0.6203 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.247e-05/0.003174, allocations: 4 kB / 0.6203 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.733e-05/0.003191, allocations: 11.92 kB / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.003363, allocations: 155.5 kB / 0.6204 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.453e-06/0.003365, allocations: 0 / 0.6204 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.01e-07/0.003365, allocations: 0 / 0.6204 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.00337, allocations: 4 kB / 0.6205 GB, free: 11.26 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002884/0.003658, allocations: 286 kB / 0.6207 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.003692, allocations: 9.469 kB / 0.6207 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.611e-05/0.003718, allocations: 38.75 kB / 0.6208 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.734e-05/0.003736, allocations: 0.9375 kB / 0.6208 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.396e-05/0.0038, allocations: 113.7 kB / 0.6209 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.334e-06/0.003807, allocations: 384 / 0.6209 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.813e-06/0.003814, allocations: 4.375 kB / 0.6209 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.781e-05/0.003902, allocations: 46.19 kB / 0.6209 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.131e-06/0.003908, allocations: 192 / 0.6209 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.622e-06/0.003914, allocations: 384 / 0.6209 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.003919, allocations: 8.125 kB / 0.6209 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.605e-05/0.003955, allocations: 12 kB / 0.6209 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002216/0.004176, allocations: 224 kB / 0.6212 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/0.004325, allocations: 42.62 kB / 0.6212 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.946e-05/0.004354, allocations: 24.73 kB / 0.6212 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.004371, allocations: 3.984 kB / 0.6212 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.454e-05/0.004386, allocations: 34.5 kB / 0.6213 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 7.82e-07/0.004386, allocations: 0 / 0.6213 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0001228/0.004509, allocations: 57.69 kB / 0.6213 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.518e-05/0.004534, allocations: 51.41 kB / 0.6214 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.055e-05/0.004585, allocations: 106 kB / 0.6215 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.276e-06/0.004593, allocations: 25.7 kB / 0.6215 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.531e-05/0.004628, allocations: 88.09 kB / 0.6216 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 8.375e-06/0.004637, allocations: 11.89 kB / 0.6216 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.46e-05/0.004661, allocations: 17.72 kB / 0.6216 GB, free: 9.898 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.58e-05/0.004727, allocations: 318.8 kB / 0.6219 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.343e-05/0.004741, allocations: 7.984 kB / 0.6219 GB, free: 9.57 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.983e-05/0.00476, allocations: 21.72 kB / 0.6219 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.399e-05/0.004794, allocations: 25.72 kB / 0.622 GB, free: 9.512 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.004796, allocations: 4 kB / 0.622 GB, free: 9.508 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 5.852e-05/0.004854, allocations: 69.5 kB / 0.622 GB, free: 9.434 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 9.669e-06/0.004864, allocations: 4 kB / 0.622 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.004868, allocations: 0 / 0.622 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/0.004877, allocations: 0 / 0.622 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.914e-05/0.004906, allocations: 11.98 kB / 0.622 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.004909, allocations: 0 / 0.622 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.352e-05/0.004923, allocations: 4 kB / 0.622 GB, free: 9.414 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.497e-06/0.004926, allocations: 0 / 0.622 GB, free: 9.414 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (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 prepare postOptimizeDAE: time 4.777e-05/0.004974, allocations: 114.8 kB / 0.6222 GB, free: 9.293 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.265e-05/0.004987, allocations: 11.92 kB / 0.6222 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003457/0.005333, allocations: 65.3 kB / 0.6222 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.005334, allocations: 0 / 0.6222 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.005338, allocations: 0 / 0.6222 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.005341, allocations: 0 / 0.6222 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.285e-05/0.005434, allocations: 128.8 kB / 0.6224 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.005436, allocations: 7.984 kB / 0.6224 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.591e-05/0.005452, allocations: 4 kB / 0.6224 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.005454, allocations: 3.938 kB / 0.6224 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.00546, allocations: 4 kB / 0.6224 GB, free: 9.016 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.00546, allocations: 4 kB / 0.6224 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.005461, allocations: 0 / 0.6224 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.92e-05/0.00553, allocations: 147.5 kB / 0.6225 GB, free: 8.852 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.981e-06/0.005536, allocations: 7.891 kB / 0.6225 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.156e-06/0.005544, allocations: 4 kB / 0.6225 GB, free: 8.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.525e-05/0.005569, allocations: 0 / 0.6225 GB, free: 8.84 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.293e-05/0.005582, allocations: 3.984 kB / 0.6225 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-06/0.005585, allocations: 7.938 kB / 0.6225 GB, free: 8.828 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.339e-05/0.005608, allocations: 79.28 kB / 0.6226 GB, free: 8.75 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005608, allocations: 0 / 0.6226 GB, free: 8.75 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001574/0.005766, allocations: 19.94 kB / 0.6226 GB, free: 8.73 MB / 0.5886 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 (4): * Single equations (assignments): 4 * 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.0002855/0.006051, allocations: 0.7088 MB / 0.6233 GB, free: 7.996 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 6.566e-05/0.006117, allocations: 28.02 kB / 0.6234 GB, free: 7.969 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.006118, allocations: 0 / 0.6234 GB, free: 7.969 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.228e-05/0.00613, allocations: 12 kB / 0.6234 GB, free: 7.957 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001433/0.006274, allocations: 3.938 kB / 0.6234 GB, free: 7.953 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002893/0.006563, allocations: 150.5 kB / 0.6235 GB, free: 7.766 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.419e-05/0.006597, allocations: 59.36 kB / 0.6236 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.145e-05/0.006619, allocations: 12.05 kB / 0.6236 GB, free: 7.676 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.2e-05/0.006641, allocations: 12.48 kB / 0.6236 GB, free: 7.664 MB / 0.5886 GB Notification: Performance of SimCode: time 5.01e-07/0.006641, allocations: 0 / 0.6236 GB, free: 7.664 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01466/0.0213, allocations: 2.025 MB / 0.6256 GB, free: 5.793 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.054/7.075, allocations: 0 / 0.6256 GB, free: 5.793 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.751859215088189] Failed to read output from testmodel.py, exit status != 0: 7.155678698793054 7.166265657 7.161037458 Calling exit ...