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: translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000843/0.0008428, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0008441/0.0008441, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.146/1.146, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001691/0.001691, allocations: 266.6 kB / 291.2 MB, free: 2.004 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7325/0.7325, allocations: 144.6 MB / 487 MB, free: 7.188 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003746/0.0003746, allocations: 12.69 kB / 0.5683 GB, free: 38.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1291, allocations: 83.09 MB / 0.6494 GB, free: 3.633 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.4468/0.576, allocations: 205.6 MB / 0.8502 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01715/0.5931, allocations: 18.87 MB / 0.8687 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001414/0.5946, allocations: 45.09 kB / 0.8687 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001643/0.5963, allocations: 0.5893 MB / 0.8693 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003607/0.5999, allocations: 1.496 MB / 0.8707 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003555/0.6034, allocations: 1.467 MB / 0.8722 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00252/0.606, allocations: 1.77 MB / 0.8739 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00106/0.607, allocations: 0.9243 MB / 0.8748 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001428/0.6085, allocations: 0.9239 MB / 0.8757 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006255/0.6091, allocations: 0.5781 MB / 0.8763 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.179e-05/0.6092, allocations: 39.75 kB / 0.8763 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001682/0.6109, allocations: 0.8078 MB / 0.8771 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002201/0.6111, allocations: 259.7 kB / 0.8774 GB, free: 9.703 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00017/0.6113, allocations: 264.8 kB / 0.8776 GB, free: 9.672 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001265/0.6126, allocations: 1.493 MB / 0.8791 GB, free: 8.785 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.6126, allocations: 0 / 0.8791 GB, free: 8.785 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.393e-06/0.6126, allocations: 4 kB / 0.8791 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.629e-05/0.6126, allocations: 0 / 0.8791 GB, free: 8.781 MB / 0.5762 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.001412/0.614, allocations: 1.223 MB / 0.8803 GB, free: 7.887 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.882e-05/0.6141, allocations: 10.59 kB / 0.8803 GB, free: 7.887 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008967/0.615, allocations: 232 kB / 0.8805 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.616, allocations: 0.821 MB / 0.8813 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000137/0.6162, allocations: 193.9 kB / 0.8815 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-05/0.6163, allocations: 90.16 kB / 0.8816 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/0.6174, allocations: 0.9155 MB / 0.8825 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.6175, allocations: 2.781 kB / 0.8825 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.785e-05/0.6175, allocations: 31.94 kB / 0.8825 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.6175, allocations: 22.75 kB / 0.8825 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008564/0.6184, allocations: 0.6269 MB / 0.8831 GB, free: 6.805 MB / 0.5762 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.003577/0.622, allocations: 4.434 MB / 0.8875 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002991/0.6223, allocations: 194.5 kB / 0.8876 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005019/0.6228, allocations: 0.669 MB / 0.8883 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.6228, allocations: 36.22 kB / 0.8883 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=24): time 2.134e-06/0.6229, allocations: 4 kB / 0.8883 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24): time 0.000796/0.6237, allocations: 454.9 kB / 0.8888 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/0.6237, allocations: 54.22 kB / 0.8888 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/0.6248, allocations: 1.097 MB / 0.8899 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.977e-05/0.6248, allocations: 30.92 kB / 0.8899 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003172/0.6251, allocations: 0.5109 MB / 0.8904 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.046e-05/0.6252, allocations: 90.09 kB / 0.8905 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.792e-05/0.6252, allocations: 6.75 kB / 0.8905 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.828e-05/0.6253, allocations: 319.9 kB / 0.8908 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000184/0.6255, allocations: 121.1 kB / 0.8909 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003904/0.6259, allocations: 399.2 kB / 0.8913 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002491/0.6262, allocations: 183.2 kB / 0.8915 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.6262, allocations: 5.656 kB / 0.8915 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007038/0.6269, allocations: 0.5445 MB / 0.892 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.6269, allocations: 7.438 kB / 0.892 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.6269, allocations: 7.375 kB / 0.892 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.627, allocations: 12 kB / 0.892 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003301/0.6273, allocations: 91.48 kB / 0.8921 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.367e-05/0.6273, allocations: 18.56 kB / 0.8922 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006752/0.628, allocations: 126.6 kB / 0.8923 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.621e-05/0.6281, allocations: 31.81 kB / 0.8923 GB, free: 0.6211 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002976/0.6284, allocations: 292.8 kB / 0.8926 GB, free: 424 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/0.6285, allocations: 102.7 kB / 0.8927 GB, free: 320 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005697/0.6291, allocations: 412 kB / 0.8931 GB, free: 28 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.798e-06/0.6291, allocations: 14.48 kB / 0.8931 GB, free: 16 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.6291, allocations: 0 / 0.8931 GB, free: 16 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.6291, allocations: 0 / 0.8931 GB, free: 16 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001779/0.6309, allocations: 1.517 MB / 0.8946 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/0.6309, allocations: 4 kB / 0.8946 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001589/0.6311, allocations: 45.72 kB / 0.8946 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.6311, allocations: 4 kB / 0.8946 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.6311, allocations: 12.83 kB / 0.8946 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.6311, allocations: 6.531 kB / 0.8946 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/0.6311, allocations: 10.53 kB / 0.8946 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006117/0.6317, allocations: 0.7831 MB / 0.8954 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002997/0.632, allocations: 247.9 kB / 0.8956 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.6322, allocations: 12.05 kB / 0.8957 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004307/0.6326, allocations: 43.81 kB / 0.8957 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.48e-05/0.6327, allocations: 33.08 kB / 0.8957 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.137e-05/0.6327, allocations: 16 kB / 0.8957 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008907/0.6336, allocations: 0.7664 MB / 0.8965 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6336, allocations: 0 / 0.8965 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007837/0.6344, allocations: 283.5 kB / 0.8968 GB, free: 12.4 MB / 0.5919 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005462/0.6349, allocations: 299.8 kB / 0.8971 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005201/0.6355, allocations: 326.9 kB / 0.8974 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.6355, allocations: 4.062 kB / 0.8974 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001729/0.6357, allocations: 132.7 kB / 0.8975 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001873/0.6375, allocations: 495.2 kB / 0.898 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002048/0.6396, allocations: 1.811 MB / 0.8997 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006418/0.6402, allocations: 1.086 MB / 0.9008 GB, free: 8.227 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000599/0.6409, allocations: 188.6 kB / 0.901 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001352/0.641, allocations: 71.42 kB / 0.901 GB, free: 7.973 MB / 0.5919 GB Notification: Performance of SimCode: time 3.31e-07/0.641, allocations: 0 / 0.901 GB, free: 7.973 MB / 0.5919 GB Notification: Performance of Templates: time 0.02312/0.6641, allocations: 16.68 MB / 0.9173 GB, free: 7.574 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile Environment - environmentSimulation: (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 & ./BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) Environment - environmentSimulation: