Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.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.0009961/0.0009961, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0008717/0.0008717, allocations: 214.6 kB / 22.26 MB, free: 3.852 MB / 13.93 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.9304/0.9304, allocations: 230.6 MB / 256 MB, free: 3.449 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7641/0.7641, allocations: 203.8 MB / 0.5042 GB, free: 0.6758 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008904/0.0008904, allocations: 67.91 kB / 0.7182 GB, free: 14.94 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4662/0.4671, allocations: 102 MB / 0.8179 GB, free: 24.75 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1512/0.6182, allocations: 172.1 MB / 0.9859 GB, free: 6.426 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01584/0.6341, allocations: 17.75 MB / 1.003 GB, free: 4.617 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001166/0.6353, allocations: 43.62 kB / 1.003 GB, free: 4.574 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001254/0.6365, allocations: 0.6051 MB / 1.004 GB, free: 3.965 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.003786/0.6403, allocations: 1.85 MB / 1.006 GB, free: 2.117 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.002412/0.6427, allocations: 1.509 MB / 1.007 GB, free: 0.6211 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.002099/0.6448, allocations: 2.914 MB / 1.01 GB, free: 13.7 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001383/0.6462, allocations: 1.606 MB / 1.012 GB, free: 12.03 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002617/0.6488, allocations: 1.524 MB / 1.013 GB, free: 10.55 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009155/0.6497, allocations: 1.155 MB / 1.014 GB, free: 9.391 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0002296/0.65, allocations: 224 kB / 1.014 GB, free: 9.172 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002315/0.6523, allocations: 1.669 MB / 1.016 GB, free: 7.5 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0004767/0.6527, allocations: 0.8217 MB / 1.017 GB, free: 6.676 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.000806/0.6536, allocations: 1.283 MB / 1.018 GB, free: 5.387 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.003317/0.6569, allocations: 3.806 MB / 1.022 GB, free: 1.566 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.6569, allocations: 0 / 1.022 GB, free: 1.566 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6569, allocations: 0 / 1.022 GB, free: 1.566 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 2.498e-05/0.6569, allocations: 0 / 1.022 GB, free: 1.566 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.003161/0.6601, allocations: 2.968 MB / 1.025 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.6601, allocations: 9.469 kB / 1.025 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002057/0.6603, allocations: 248.9 kB / 1.025 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002061/0.6624, allocations: 0.6345 MB / 1.026 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002815/0.6652, allocations: 3.374 MB / 1.029 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.788e-05/0.6653, allocations: 131.4 kB / 1.029 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001425/0.6654, allocations: 168 kB / 1.029 GB, free: 9.949 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00213/0.6675, allocations: 1.952 MB / 1.031 GB, free: 7.945 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.645e-05/0.6676, allocations: 3.938 kB / 1.031 GB, free: 7.941 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.6677, allocations: 72 kB / 1.031 GB, free: 7.871 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.265e-05/0.6677, allocations: 44 kB / 1.031 GB, free: 7.828 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002572/0.6703, allocations: 2.117 MB / 1.033 GB, free: 5.707 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006012/0.6763, allocations: 6.858 MB / 1.04 GB, free: 14.45 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002064/0.6783, allocations: 1.74 MB / 1.042 GB, free: 12.71 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008831/0.6792, allocations: 0.7224 MB / 1.042 GB, free: 11.98 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000279/0.6795, allocations: 121.1 kB / 1.042 GB, free: 11.87 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001125/0.6806, allocations: 1.023 MB / 1.043 GB, free: 10.83 MB / 0.823 GB Notification: Performance of pre-optimization done (n=146): time 2.585e-06/0.6806, allocations: 0 / 1.043 GB, free: 10.83 MB / 0.823 GB Notification: Performance of matching and sorting (n=146): time 0.004/0.6846, allocations: 2.633 MB / 1.046 GB, free: 8.176 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.727e-05/0.6847, allocations: 201.2 kB / 1.046 GB, free: 7.938 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003492/0.6882, allocations: 4.098 MB / 1.05 GB, free: 3.836 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 8.775e-05/0.6883, allocations: 61.64 kB / 1.05 GB, free: 3.77 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006188/0.6889, allocations: 0.9271 MB / 1.051 GB, free: 2.832 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003086/0.6892, allocations: 0.4957 MB / 1.052 GB, free: 2.332 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000258/0.6895, allocations: 242.8 kB / 1.052 GB, free: 2.086 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.6896, allocations: 357.8 kB / 1.052 GB, free: 1.73 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007204/0.6903, allocations: 0.5843 MB / 1.053 GB, free: 1.148 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000868/0.6912, allocations: 0.8086 MB / 1.054 GB, free: 280 kB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001799/0.693, allocations: 1.329 MB / 1.055 GB, free: 14.94 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.693, allocations: 4 kB / 1.055 GB, free: 14.93 MB / 0.8386 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.002248/0.6952, allocations: 1.812 MB / 1.057 GB, free: 13.1 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.6952, allocations: 10.5 kB / 1.057 GB, free: 13.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.6953, allocations: 0 / 1.057 GB, free: 13.09 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005192/0.6958, allocations: 204.2 kB / 1.057 GB, free: 12.88 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007724/0.6965, allocations: 331.5 kB / 1.057 GB, free: 12.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003862/0.7004, allocations: 6.82 MB / 1.064 GB, free: 5.152 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006902/0.7011, allocations: 167.2 kB / 1.064 GB, free: 4.988 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.775e-05/0.7012, allocations: 51.97 kB / 1.064 GB, free: 4.938 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (145): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005758/0.7017, allocations: 482.4 kB / 1.065 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000208/0.702, allocations: 210.7 kB / 1.065 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002508/0.7045, allocations: 2.158 MB / 1.067 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.384e-05/0.7045, allocations: 16 kB / 1.067 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.7045, allocations: 0 / 1.067 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.7045, allocations: 7.969 kB / 1.067 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00452/0.709, allocations: 4.136 MB / 1.071 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.709, allocations: 4 kB / 1.071 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007156/0.7097, allocations: 319.6 kB / 1.071 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004149/0.7101, allocations: 200.1 kB / 1.071 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.386e-05/0.7102, allocations: 43.95 kB / 1.071 GB, free: 13.26 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003466/0.7137, allocations: 6.843 MB / 1.078 GB, free: 5.844 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.7137, allocations: 7.969 kB / 1.078 GB, free: 5.836 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00236/0.716, allocations: 2.033 MB / 1.08 GB, free: 3.77 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005838/0.7166, allocations: 462 kB / 1.081 GB, free: 3.316 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001297/0.7168, allocations: 24 kB / 1.081 GB, free: 3.293 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006316/0.7174, allocations: 118.6 kB / 1.081 GB, free: 3.18 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001748/0.7176, allocations: 121.1 kB / 1.081 GB, free: 3.059 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.362e-05/0.7177, allocations: 67.94 kB / 1.081 GB, free: 2.992 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.002402/0.7201, allocations: 3.148 MB / 1.084 GB, free: 15.85 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.7201, allocations: 0 / 1.084 GB, free: 15.85 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001309/0.7214, allocations: 0.7015 MB / 1.085 GB, free: 15.15 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003779/0.7251, allocations: 3.22 MB / 1.088 GB, free: 12.11 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002481/0.7276, allocations: 2.027 MB / 1.09 GB, free: 10.01 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.7276, allocations: 4.641 kB / 1.09 GB, free: 10 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001201/0.7288, allocations: 1.368 MB / 1.091 GB, free: 8.574 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001328/0.7302, allocations: 0.5563 MB / 1.092 GB, free: 8.051 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0211/0.7513, allocations: 21.16 MB / 1.112 GB, free: 2.648 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008901/0.7521, allocations: 1.545 MB / 1.114 GB, free: 1.07 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001217/0.7534, allocations: 0.5252 MB / 1.114 GB, free: 0.5391 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3544/1.108, allocations: 0.9032 MB / 1.115 GB, free: 261.9 MB / 0.8855 GB Notification: Performance of SimCode: time 1.383e-06/1.108, allocations: 0.9062 kB / 1.115 GB, free: 261.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08629/1.194, allocations: 50.91 MB / 1.165 GB, free: 246 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/12.44, allocations: 3.875 kB / 1.165 GB, free: 246 MB / 0.8855 GB " [Timeout remaining time 647] (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Validation_Outside_CpData_Directions_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Validation_Outside_CpData_Directions.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.424247964052483] Failed to read output from testmodel.py, exit status != 0: 12.605860193027183 12.618005955 11.958798243 Calling exit ...