Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.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.0008671/0.0008671, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001035/0.001035, 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.901/0.901, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.6922/0.6922, allocations: 154.6 MB / 413.8 MB, free: 0.7773 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0 / 0.6181 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.847e-05/2.044e-05, allocations: 5.234 kB / 0.6181 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.4369/0.4369, allocations: 221.7 MB / 0.8346 GB, free: 4.5 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01762/0.4545, allocations: 20.46 MB / 0.8546 GB, free: 1.402 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001454/0.456, allocations: 79.31 kB / 0.8546 GB, free: 1.324 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001947/0.4579, allocations: 0.9935 MB / 0.8556 GB, free: 332 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.002979/0.4609, allocations: 1.55 MB / 0.8571 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.003279/0.4642, allocations: 2.077 MB / 0.8591 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.002563/0.4668, allocations: 2.701 MB / 0.8618 GB, free: 9.984 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001229/0.468, allocations: 0.973 MB / 0.8627 GB, free: 8.984 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002244/0.4702, allocations: 2.01 MB / 0.8647 GB, free: 6.969 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006979/0.4709, allocations: 0.7945 MB / 0.8655 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 8.881e-05/0.471, allocations: 111.9 kB / 0.8656 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001829/0.4728, allocations: 1.418 MB / 0.867 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0002411/0.4731, allocations: 406.7 kB / 0.8674 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0002997/0.4734, allocations: 439 kB / 0.8678 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002024/0.4754, allocations: 2.337 MB / 0.8701 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.4754, allocations: 0 / 0.8701 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.323e-06/0.4754, allocations: 0 / 0.8701 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.1e-05/0.4754, allocations: 0 / 0.8701 GB, free: 1.469 MB / 0.7136 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.001275/0.4767, allocations: 1.442 MB / 0.8715 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.4767, allocations: 8.031 kB / 0.8715 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001061/0.4768, allocations: 146.8 kB / 0.8716 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005898/0.4774, allocations: 231 kB / 0.8718 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009377/0.4784, allocations: 0.8559 MB / 0.8727 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000149/0.4785, allocations: 295.6 kB / 0.8729 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.248e-05/0.4786, allocations: 92 kB / 0.873 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009088/0.4795, allocations: 0.9323 MB / 0.8739 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.4795, allocations: 3.938 kB / 0.8739 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.417e-05/0.4796, allocations: 36 kB / 0.874 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.4796, allocations: 20 kB / 0.874 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006858/0.4803, allocations: 0.6285 MB / 0.8746 GB, free: 12.64 MB / 0.7292 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.002637/0.4829, allocations: 2.897 MB / 0.8774 GB, free: 9.672 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002581/0.4832, allocations: 178.7 kB / 0.8776 GB, free: 9.488 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001308/0.4833, allocations: 140.8 kB / 0.8777 GB, free: 9.348 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002839/0.4836, allocations: 127.9 kB / 0.8779 GB, free: 9.223 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.4836, allocations: 34.56 kB / 0.8779 GB, free: 9.18 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=24): time 1.383e-06/0.4836, allocations: 0 / 0.8779 GB, free: 9.18 MB / 0.7292 GB Notification: Performance of matching and sorting (n=24): time 0.0006274/0.4842, allocations: 471.5 kB / 0.8784 GB, free: 8.715 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.4842, allocations: 59.34 kB / 0.8784 GB, free: 8.645 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008998/0.4851, allocations: 1.13 MB / 0.8795 GB, free: 7.5 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.4852, allocations: 33.7 kB / 0.8795 GB, free: 7.461 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002755/0.4854, allocations: 0.5205 MB / 0.8801 GB, free: 6.938 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.784e-05/0.4855, allocations: 95.2 kB / 0.8801 GB, free: 6.844 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.4856, allocations: 94.14 kB / 0.8802 GB, free: 6.746 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.955e-05/0.4857, allocations: 318 kB / 0.8805 GB, free: 6.43 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.4858, allocations: 128.9 kB / 0.8807 GB, free: 6.305 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004664/0.4863, allocations: 0.734 MB / 0.8814 GB, free: 5.379 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000385/0.4867, allocations: 467.6 kB / 0.8818 GB, free: 4.836 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.4867, allocations: 4 kB / 0.8818 GB, free: 4.832 MB / 0.7292 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005577/0.4872, allocations: 0.5436 MB / 0.8824 GB, free: 4.281 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.4873, allocations: 10.19 kB / 0.8824 GB, free: 4.273 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.4873, allocations: 10.81 kB / 0.8824 GB, free: 4.266 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.4873, allocations: 12.03 kB / 0.8824 GB, free: 4.254 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002013/0.4875, allocations: 95.77 kB / 0.8825 GB, free: 4.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.4875, allocations: 11.94 kB / 0.8825 GB, free: 4.148 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003334/0.4878, allocations: 103.7 kB / 0.8826 GB, free: 4.047 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.82e-05/0.4879, allocations: 31.48 kB / 0.8826 GB, free: 4.02 MB / 0.7292 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.0002463/0.4881, allocations: 281.6 kB / 0.8829 GB, free: 3.738 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.983e-05/0.4882, allocations: 111.2 kB / 0.883 GB, free: 3.629 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004767/0.4887, allocations: 431.3 kB / 0.8834 GB, free: 3.195 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/0.4887, allocations: 8 kB / 0.8834 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.4887, allocations: 7.938 kB / 0.8834 GB, free: 3.18 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.4887, allocations: 3.984 kB / 0.8834 GB, free: 3.176 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/0.4902, allocations: 1.437 MB / 0.8848 GB, free: 1.637 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.4902, allocations: 8 kB / 0.8848 GB, free: 1.629 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.344e-05/0.4903, allocations: 39.92 kB / 0.8849 GB, free: 1.59 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.376e-06/0.4903, allocations: 4 kB / 0.8849 GB, free: 1.586 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.4903, allocations: 15.94 kB / 0.8849 GB, free: 1.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.4903, allocations: 11.92 kB / 0.8849 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.4903, allocations: 4 kB / 0.8849 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003788/0.4907, allocations: 0.5783 MB / 0.8855 GB, free: 0.9062 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001814/0.4909, allocations: 163.2 kB / 0.8856 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.277e-05/0.4909, allocations: 15.94 kB / 0.8856 GB, free: 0.7305 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/0.4912, allocations: 15.98 kB / 0.8857 GB, free: 0.7148 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.16e-05/0.4912, allocations: 31.84 kB / 0.8857 GB, free: 0.6836 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.4912, allocations: 15.98 kB / 0.8857 GB, free: 0.668 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0006681/0.4919, allocations: 0.7865 MB / 0.8865 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.4e-07/0.4919, allocations: 0 / 0.8865 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005891/0.4925, allocations: 291.4 kB / 0.8867 GB, free: 15.59 MB / 0.7448 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.0008637/0.4933, allocations: 1.313 MB / 0.888 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003923/0.4937, allocations: 336.8 kB / 0.8884 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4937, allocations: 0 / 0.8884 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001289/0.4938, allocations: 144 kB / 0.8885 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001248/0.4951, allocations: 0.517 MB / 0.889 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006575/0.5017, allocations: 7.488 MB / 0.8963 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.502, allocations: 481.3 kB / 0.8968 GB, free: 4.848 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0004801/0.5025, allocations: 198.6 kB / 0.897 GB, free: 4.656 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005491/0.503, allocations: 364.4 kB / 0.8973 GB, free: 4.301 MB / 0.7448 GB Notification: Performance of SimCode: time 1.263e-06/0.503, allocations: 0 / 0.8973 GB, free: 4.301 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04145/0.5445, allocations: 30.8 MB / 0.9274 GB, free: 6.156 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.246/7.791, allocations: 0 / 0.9274 GB, free: 6.156 MB / 0.7761 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.fmu > IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.468465588055551] Failed to read output from testmodel.py, exit status != 0: 7.886333846487105 7.898535424 7.421039915 Calling exit ...