Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",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.001082/0.001082, allocations: 108.3 kB / 16.4 MB, free: 6.434 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.001016/0.001016, allocations: 192.8 kB / 17.34 MB, free: 5.719 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.259/1.259, allocations: 222.9 MB / 241 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.69/0.69, allocations: 115.3 MB / 406.5 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 63.7 kB / 0.5572 GB, free: 32.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1217, allocations: 76.18 MB / 0.6316 GB, free: 4.918 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.5296/0.6513, allocations: 248.9 MB / 0.8747 GB, free: 3.668 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02313/0.6745, allocations: 22.28 MB / 0.8965 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001478/0.676, allocations: 51.69 kB / 0.8965 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002255/0.6783, allocations: 0.9703 MB / 0.8975 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003297/0.6817, allocations: 1.477 MB / 0.8989 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004161/0.6858, allocations: 1.926 MB / 0.9008 GB, free: 8.883 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00331/0.6891, allocations: 2.702 MB / 0.9034 GB, free: 6.18 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002156/0.6913, allocations: 1.315 MB / 0.9047 GB, free: 4.824 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003056/0.6944, allocations: 1.354 MB / 0.906 GB, free: 3.465 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00169/0.6961, allocations: 0.9105 MB / 0.9069 GB, free: 2.551 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003715/0.6965, allocations: 108 kB / 0.907 GB, free: 2.445 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004345/0.7009, allocations: 1.676 MB / 0.9087 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0007445/0.7016, allocations: 378.9 kB / 0.909 GB, free: 404 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002198/0.7039, allocations: 0.6338 MB / 0.9096 GB, free: 15.75 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.006674/0.7105, allocations: 2.282 MB / 0.9119 GB, free: 13.47 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/0.7106, allocations: 0 / 0.9119 GB, free: 13.47 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.194e-06/0.7106, allocations: 0 / 0.9119 GB, free: 13.47 MB / 0.67 GB Notification: Performance of Transformations before backend: time 8.542e-05/0.7107, allocations: 0 / 0.9119 GB, free: 13.47 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.00321/0.7139, allocations: 1.472 MB / 0.9133 GB, free: 11.95 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.714, allocations: 8.031 kB / 0.9133 GB, free: 11.94 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002373/0.7142, allocations: 147.5 kB / 0.9135 GB, free: 11.79 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001215/0.7155, allocations: 218.4 kB / 0.9137 GB, free: 11.57 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001541/0.717, allocations: 0.9232 MB / 0.9146 GB, free: 10.6 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001568/0.7172, allocations: 184.8 kB / 0.9147 GB, free: 10.4 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.7173, allocations: 95.94 kB / 0.9148 GB, free: 10.3 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/0.7187, allocations: 0.9285 MB / 0.9157 GB, free: 9.34 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.7187, allocations: 0 / 0.9157 GB, free: 9.34 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.748e-05/0.7188, allocations: 36 kB / 0.9158 GB, free: 9.305 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.775e-05/0.7188, allocations: 24 kB / 0.9158 GB, free: 9.281 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009766/0.7198, allocations: 0.6363 MB / 0.9164 GB, free: 8.648 MB / 0.67 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004323/0.7241, allocations: 4.427 MB / 0.9207 GB, free: 3.824 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003733/0.7245, allocations: 186.7 kB / 0.9209 GB, free: 3.633 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001965/0.7247, allocations: 154.6 kB / 0.9211 GB, free: 3.48 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009156/0.7257, allocations: 1.013 MB / 0.9221 GB, free: 2.246 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.7257, allocations: 38.56 kB / 0.9221 GB, free: 2.199 MB / 0.67 GB Notification: Performance of pre-optimization done (n=24): time 1.503e-06/0.7257, allocations: 0 / 0.9221 GB, free: 2.199 MB / 0.67 GB Notification: Performance of matching and sorting (n=24): time 0.0009889/0.7267, allocations: 472.3 kB / 0.9225 GB, free: 1.734 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.7268, allocations: 55.41 kB / 0.9226 GB, free: 1.668 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001286/0.728, allocations: 1.106 MB / 0.9237 GB, free: 0.5469 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.939e-05/0.7281, allocations: 37.7 kB / 0.9237 GB, free: 0.5039 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004034/0.7285, allocations: 0.5119 MB / 0.9242 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 7.374e-05/0.7286, allocations: 86.59 kB / 0.9243 GB, free: 15.9 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000169/0.7288, allocations: 94.03 kB / 0.9244 GB, free: 15.8 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.7289, allocations: 322 kB / 0.9247 GB, free: 15.48 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002192/0.7291, allocations: 128.8 kB / 0.9248 GB, free: 15.36 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004031/0.7295, allocations: 387.1 kB / 0.9252 GB, free: 14.87 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005326/0.7301, allocations: 475.5 kB / 0.9256 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.7301, allocations: 0 / 0.9256 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008593/0.7309, allocations: 0.5351 MB / 0.9262 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.731, allocations: 13.34 kB / 0.9262 GB, free: 13.76 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.731, allocations: 8.688 kB / 0.9262 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.731, allocations: 8 kB / 0.9262 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000369/0.7314, allocations: 95.83 kB / 0.9263 GB, free: 13.65 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.657e-05/0.7314, allocations: 14.52 kB / 0.9263 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000639/0.7321, allocations: 102.9 kB / 0.9264 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.341e-05/0.7321, allocations: 24 kB / 0.9264 GB, free: 13.52 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (48): * Single equations (assignments): 48 * 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 0.0003623/0.7325, allocations: 285.6 kB / 0.9267 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/0.7326, allocations: 106.6 kB / 0.9268 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006763/0.7333, allocations: 429.3 kB / 0.9272 GB, free: 12.69 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-06/0.7333, allocations: 4 kB / 0.9272 GB, free: 12.69 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.7333, allocations: 0 / 0.9272 GB, free: 12.69 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.7333, allocations: 0 / 0.9272 GB, free: 12.69 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002324/0.7357, allocations: 1.558 MB / 0.9287 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-05/0.7357, allocations: 4 kB / 0.9287 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001747/0.7359, allocations: 43.86 kB / 0.9288 GB, free: 10.97 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.999e-06/0.7359, allocations: 8 kB / 0.9288 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.7359, allocations: 8 kB / 0.9288 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.145e-06/0.7359, allocations: 8.562 kB / 0.9288 GB, free: 10.95 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-05/0.736, allocations: 19.86 kB / 0.9288 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006628/0.7366, allocations: 0.5659 MB / 0.9294 GB, free: 10.29 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003357/0.737, allocations: 231.8 kB / 0.9296 GB, free: 10.05 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001566/0.7371, allocations: 19.92 kB / 0.9296 GB, free: 10.03 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004345/0.7376, allocations: 15.98 kB / 0.9296 GB, free: 10.01 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.093e-05/0.7376, allocations: 31.86 kB / 0.9297 GB, free: 9.98 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.734e-05/0.7377, allocations: 16.06 kB / 0.9297 GB, free: 9.965 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001113/0.7388, allocations: 0.7783 MB / 0.9304 GB, free: 9.18 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.6e-07/0.7388, allocations: 0 / 0.9304 GB, free: 9.18 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0008784/0.7397, allocations: 283.5 kB / 0.9307 GB, free: 8.902 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001472/0.7412, allocations: 1.345 MB / 0.932 GB, free: 7.48 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0006562/0.7418, allocations: 335.8 kB / 0.9323 GB, free: 7.152 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.7419, allocations: 4 kB / 0.9323 GB, free: 7.148 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002017/0.7421, allocations: 141.2 kB / 0.9325 GB, free: 7.012 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00212/0.7442, allocations: 0.5096 MB / 0.933 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01032/0.7545, allocations: 7.408 MB / 0.9402 GB, free: 14.7 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007118/0.7553, allocations: 1.059 MB / 0.9412 GB, free: 13.61 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0007095/0.756, allocations: 197.2 kB / 0.9414 GB, free: 13.42 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004532/0.7565, allocations: 371.3 kB / 0.9418 GB, free: 13.06 MB / 0.7012 GB Notification: Performance of SimCode: time 9.52e-07/0.7565, allocations: 0 / 0.9418 GB, free: 13.06 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05358/0.8101, allocations: 28.38 MB / 0.9695 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.572/10.38, allocations: 11.97 kB / 0.9695 GB, free: 1 MB / 0.7169 GB (rm -f IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.fmu > IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1)