Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001278/0.001278, allocations: 193.4 kB / 16.14 MB, free: 6.688 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.474/1.474, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.941/2.941, allocations: 472.6 MB / 0.7447 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 67.77 kB / 0.9114 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3856/0.387, allocations: 159.9 MB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.003053/0.3901, allocations: 1.343 MB / 1.069 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00126/0.3914, allocations: 0.6151 MB / 1.069 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.574e-05/0.3914, allocations: 0 / 1.069 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.061e-05/0.3915, allocations: 7.984 kB / 1.069 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.793e-05/0.3916, allocations: 3.938 kB / 1.069 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007095/0.3923, allocations: 115 kB / 1.07 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.185e-05/0.3924, allocations: 27.86 kB / 1.07 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.57e-05/0.3924, allocations: 3.984 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.983e-05/0.3925, allocations: 4 kB / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.5e-05/0.3925, allocations: 11.92 kB / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.3926, allocations: 4 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006366/0.3932, allocations: 347.3 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.71e-05/0.3932, allocations: 4 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.051e-05/0.3933, allocations: 11.92 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004212/0.3937, allocations: 143.9 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.215e-06/0.3937, allocations: 0 / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3937, allocations: 0 / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.3937, allocations: 4 kB / 1.07 GB, free: 8.215 MB / 0.8262 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.0006551/0.3944, allocations: 355.5 kB / 1.07 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.22e-05/0.3945, allocations: 12.03 kB / 1.07 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.673e-05/0.3945, allocations: 8.844 kB / 1.07 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.3948, allocations: 160.4 kB / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.3948, allocations: 4.375 kB / 1.071 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.3948, allocations: 384 / 1.071 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.395, allocations: 50.19 kB / 1.071 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.395, allocations: 192 / 1.071 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.395, allocations: 3.938 kB / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.395, allocations: 0 / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.781e-05/0.3951, allocations: 15.98 kB / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004256/0.3955, allocations: 249 kB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002301/0.3958, allocations: 54.5 kB / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.58e-05/0.3958, allocations: 20.84 kB / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.3959, allocations: 7.984 kB / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.3959, allocations: 30.56 kB / 1.071 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/0.3959, allocations: 4 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002018/0.3961, allocations: 57.67 kB / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.865e-05/0.3962, allocations: 55.41 kB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.955e-05/0.3963, allocations: 93.86 kB / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.3963, allocations: 25.7 kB / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.693e-05/0.3963, allocations: 88.05 kB / 1.071 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/0.3964, allocations: 19.67 kB / 1.071 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.236e-05/0.3964, allocations: 25.59 kB / 1.071 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.3966, allocations: 318.8 kB / 1.072 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.447e-05/0.3966, allocations: 8 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.243e-05/0.3967, allocations: 17.7 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.517e-05/0.3967, allocations: 29.72 kB / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3967, allocations: 128 / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001107/0.3968, allocations: 69.56 kB / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.3969, allocations: 4 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.3969, allocations: 4.031 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.3969, allocations: 0 / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.722e-05/0.397, allocations: 11.98 kB / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.397, allocations: 0 / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.762e-05/0.397, allocations: 4 kB / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.397, allocations: 0 / 1.072 GB, free: 6.207 MB / 0.8262 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 8.414e-05/0.3971, allocations: 117.7 kB / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.444e-05/0.3972, allocations: 0 / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001536/0.3973, allocations: 73.16 kB / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3973, allocations: 0 / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.3973, allocations: 0 / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.3973, allocations: 0 / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/0.3975, allocations: 161.5 kB / 1.072 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3975, allocations: 4 kB / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.695e-05/0.3976, allocations: 4 kB / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.3976, allocations: 0 / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.3976, allocations: 0 / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3976, allocations: 0 / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.3976, allocations: 4 kB / 1.072 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001395/0.3977, allocations: 151.9 kB / 1.072 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.719e-05/0.3978, allocations: 81.11 kB / 1.072 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.3978, allocations: 3.984 kB / 1.072 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.12e-05/0.3979, allocations: 0 / 1.072 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.986e-05/0.3979, allocations: 4.031 kB / 1.072 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.398, allocations: 4 kB / 1.072 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.094e-05/0.398, allocations: 79.28 kB / 1.072 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.398, allocations: 4 kB / 1.072 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002541/0.3983, allocations: 23.94 kB / 1.072 GB, free: 5.402 MB / 0.8262 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.0002312/0.3985, allocations: 123.2 kB / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.946e-05/0.3986, allocations: 19.94 kB / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.3986, allocations: 4 kB / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.334e-05/0.3987, allocations: 11.98 kB / 1.073 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.3989, allocations: 10.94 kB / 1.073 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000363/0.3993, allocations: 144.2 kB / 1.073 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.3996, allocations: 0.6809 MB / 1.073 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.816e-05/0.3996, allocations: 4 kB / 1.073 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.178e-05/0.3996, allocations: 7.438 kB / 1.073 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of SimCode: time 4.91e-07/0.3997, allocations: 4 kB / 1.073 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of Templates: time 0.002903/0.4026, allocations: 0.4947 MB / 1.074 GB, free: 3.84 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)