Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="BuildingSystems_BuildingSystems_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.001582/0.001582, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001625/0.001625, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.417/1.417, allocations: 222.9 MB / 240.2 MB, free: 4.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002602/0.002602, allocations: 291 kB / 290.7 MB, free: 1.859 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.044/1.044, allocations: 178.6 MB / 0.5073 GB, free: 4.57 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003039/0.003039, allocations: 101.8 kB / 0.6065 GB, free: 24.62 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1638, allocations: 89.14 MB / 0.6936 GB, free: 4.223 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.5586/0.7224, allocations: 249 MB / 0.9367 GB, free: 2.395 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02891/0.7513, allocations: 22.27 MB / 0.9585 GB, free: 12.05 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001494/0.7529, allocations: 55.69 kB / 0.9585 GB, free: 12 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.00265/0.7556, allocations: 0.9742 MB / 0.9595 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.003793/0.7594, allocations: 1.467 MB / 0.9609 GB, free: 9.543 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004566/0.7639, allocations: 1.934 MB / 0.9628 GB, free: 7.617 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003434/0.7674, allocations: 2.681 MB / 0.9654 GB, free: 4.93 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001889/0.7693, allocations: 1.328 MB / 0.9667 GB, free: 3.574 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002367/0.7717, allocations: 1.331 MB / 0.968 GB, free: 2.238 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001128/0.7728, allocations: 0.9221 MB / 0.9689 GB, free: 1.312 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001582/0.773, allocations: 108 kB / 0.969 GB, free: 1.207 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002914/0.7759, allocations: 1.668 MB / 0.9706 GB, free: 15.54 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0003745/0.7763, allocations: 374.9 kB / 0.971 GB, free: 15.17 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0007196/0.777, allocations: 0.6415 MB / 0.9716 GB, free: 14.52 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.003149/0.7802, allocations: 2.232 MB / 0.9738 GB, free: 12.29 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.7802, allocations: 3.938 kB / 0.9738 GB, free: 12.28 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.313e-06/0.7802, allocations: 0 / 0.9738 GB, free: 12.28 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.373e-05/0.7802, allocations: 0 / 0.9738 GB, free: 12.28 MB / 0.7012 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.002093/0.7823, allocations: 1.469 MB / 0.9752 GB, free: 10.76 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.7824, allocations: 12.03 kB / 0.9753 GB, free: 10.75 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002046/0.7826, allocations: 151.5 kB / 0.9754 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001072/0.7836, allocations: 218.4 kB / 0.9756 GB, free: 10.38 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001222/0.7849, allocations: 0.8492 MB / 0.9764 GB, free: 9.484 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000187/0.7851, allocations: 188.8 kB / 0.9766 GB, free: 9.273 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/0.7852, allocations: 91.94 kB / 0.9767 GB, free: 9.184 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/0.7867, allocations: 0.9324 MB / 0.9776 GB, free: 8.219 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.7867, allocations: 0 / 0.9776 GB, free: 8.219 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.909e-05/0.7868, allocations: 39.98 kB / 0.9777 GB, free: 8.18 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.953e-05/0.7868, allocations: 20 kB / 0.9777 GB, free: 8.16 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001128/0.788, allocations: 0.6363 MB / 0.9783 GB, free: 7.523 MB / 0.7012 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.004881/0.7929, allocations: 4.458 MB / 0.9826 GB, free: 2.672 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003953/0.7933, allocations: 193.5 kB / 0.9828 GB, free: 2.477 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002192/0.7935, allocations: 148.8 kB / 0.983 GB, free: 2.328 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001141/0.7946, allocations: 1.017 MB / 0.984 GB, free: 1.09 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.7947, allocations: 30.56 kB / 0.984 GB, free: 1.051 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=24): time 2.124e-06/0.7947, allocations: 4 kB / 0.984 GB, free: 1.047 MB / 0.7012 GB Notification: Performance of matching and sorting (n=24): time 0.001091/0.7958, allocations: 476 kB / 0.9845 GB, free: 0.5742 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.7958, allocations: 51.41 kB / 0.9845 GB, free: 0.5117 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001435/0.7973, allocations: 1.106 MB / 0.9856 GB, free: 15.39 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.524e-05/0.7973, allocations: 33.7 kB / 0.9856 GB, free: 15.35 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004427/0.7978, allocations: 0.5118 MB / 0.9861 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.425e-05/0.7979, allocations: 86.75 kB / 0.9862 GB, free: 14.75 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001697/0.798, allocations: 94.03 kB / 0.9863 GB, free: 14.65 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.7982, allocations: 326 kB / 0.9866 GB, free: 14.33 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002393/0.7984, allocations: 128.8 kB / 0.9867 GB, free: 14.2 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004781/0.7989, allocations: 379.1 kB / 0.9871 GB, free: 13.72 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006304/0.7996, allocations: 483.5 kB / 0.9875 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.7996, allocations: 0 / 0.9875 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009243/0.8005, allocations: 0.5354 MB / 0.9881 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.8005, allocations: 13.66 kB / 0.9881 GB, free: 12.61 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.8006, allocations: 13.42 kB / 0.9881 GB, free: 12.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.8006, allocations: 8 kB / 0.9881 GB, free: 12.59 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003578/0.801, allocations: 87.89 kB / 0.9882 GB, free: 12.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.711e-05/0.801, allocations: 11.94 kB / 0.9882 GB, free: 12.49 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006163/0.8016, allocations: 98.94 kB / 0.9883 GB, free: 12.39 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.248e-05/0.8017, allocations: 20 kB / 0.9883 GB, free: 12.38 MB / 0.7169 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.0003696/0.802, allocations: 294.3 kB / 0.9886 GB, free: 12.08 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/0.8022, allocations: 102.7 kB / 0.9887 GB, free: 11.98 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007195/0.8029, allocations: 419.7 kB / 0.9891 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.8029, allocations: 8 kB / 0.9891 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.8029, allocations: 4 kB / 0.9891 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.803, allocations: 7.922 kB / 0.9891 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00216/0.8051, allocations: 1.55 MB / 0.9906 GB, free: 9.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.8051, allocations: 4 kB / 0.9906 GB, free: 9.871 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001804/0.8053, allocations: 47.86 kB / 0.9907 GB, free: 9.824 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.8053, allocations: 8 kB / 0.9907 GB, free: 9.816 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.8054, allocations: 4 kB / 0.9907 GB, free: 9.812 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.006e-05/0.8054, allocations: 15.92 kB / 0.9907 GB, free: 9.797 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.8054, allocations: 4 kB / 0.9907 GB, free: 9.793 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006682/0.8061, allocations: 0.5697 MB / 0.9913 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003012/0.8064, allocations: 239.8 kB / 0.9915 GB, free: 8.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/0.8065, allocations: 19.92 kB / 0.9915 GB, free: 8.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004159/0.8069, allocations: 15.98 kB / 0.9915 GB, free: 8.867 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.707e-05/0.807, allocations: 27.86 kB / 0.9915 GB, free: 8.84 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.558e-05/0.807, allocations: 15.98 kB / 0.9916 GB, free: 8.824 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001048/0.8081, allocations: 0.7783 MB / 0.9923 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8081, allocations: 0 / 0.9923 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0008399/0.8089, allocations: 283.5 kB / 0.9926 GB, free: 7.762 MB / 0.7169 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.001522/0.8105, allocations: 1.345 MB / 0.9939 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0006293/0.8111, allocations: 346.6 kB / 0.9942 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.8111, allocations: 3.938 kB / 0.9942 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002202/0.8113, allocations: 143.7 kB / 0.9944 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002318/0.8137, allocations: 0.5161 MB / 0.9949 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01012/0.8238, allocations: 7.929 MB / 1.003 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007111/0.8245, allocations: 1.063 MB / 1.004 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0007568/0.8253, allocations: 199 kB / 1.004 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000486/0.8258, allocations: 367.3 kB / 1.004 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of SimCode: time 6.01e-07/0.8258, allocations: 0 / 1.004 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4834/1.309, allocations: 27.78 MB / 1.031 GB, free: 15.9 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.798/11.11, allocations: 10.36 kB / 1.031 GB, free: 15.89 MB / 0.7637 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1)