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.000838/0.000838, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0009563/0.0009563, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.9163/0.9163, allocations: 177.2 MB / 202.8 MB, free: 5.539 MB / 186.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.729/0.729, allocations: 154.6 MB / 413.8 MB, free: 0.7461 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.618 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.149e-05/1.281e-05, allocations: 2.844 kB / 0.618 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.4598/0.4598, allocations: 148.3 MB / 0.7629 GB, free: 7.895 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0162/0.476, allocations: 16.17 MB / 0.7787 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001449/0.4775, allocations: 43.12 kB / 0.7787 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001379/0.4789, allocations: 0.5714 MB / 0.7793 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.004139/0.483, allocations: 1.905 MB / 0.7811 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.002666/0.4857, allocations: 1.478 MB / 0.7826 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.00242/0.4881, allocations: 2.963 MB / 0.7855 GB, free: 9.324 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00158/0.4897, allocations: 1.585 MB / 0.787 GB, free: 8.496 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002768/0.4924, allocations: 1.997 MB / 0.789 GB, free: 7.652 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008971/0.4933, allocations: 0.9297 MB / 0.7899 GB, free: 7.32 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0002304/0.4936, allocations: 224.1 kB / 0.7901 GB, free: 7.32 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002238/0.4958, allocations: 1.474 MB / 0.7915 GB, free: 6.891 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0004895/0.4963, allocations: 0.8448 MB / 0.7923 GB, free: 6.43 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.00063/0.4969, allocations: 0.8733 MB / 0.7932 GB, free: 6.02 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.002941/0.4999, allocations: 3.939 MB / 0.797 GB, free: 4.367 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.4999, allocations: 6.938 kB / 0.7971 GB, free: 4.363 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.924e-06/0.4999, allocations: 0 / 0.7971 GB, free: 4.363 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.168e-05/0.4999, allocations: 0 / 0.7971 GB, free: 4.363 MB / 0.6511 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.003158/0.503, allocations: 2.954 MB / 0.7999 GB, free: 2.215 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.5031, allocations: 9.906 kB / 0.7999 GB, free: 2.215 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000221/0.5033, allocations: 251.9 kB / 0.8002 GB, free: 2.02 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002187/0.5055, allocations: 0.6396 MB / 0.8008 GB, free: 1.719 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002592/0.5081, allocations: 3.373 MB / 0.8041 GB, free: 15.92 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.201e-05/0.5082, allocations: 131.7 kB / 0.8042 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001569/0.5083, allocations: 171.8 kB / 0.8044 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002362/0.5107, allocations: 2.71 MB / 0.807 GB, free: 13.73 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/0.5107, allocations: 3.938 kB / 0.807 GB, free: 13.73 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/0.5108, allocations: 74.19 kB / 0.8071 GB, free: 13.67 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.191e-05/0.5108, allocations: 39.72 kB / 0.8072 GB, free: 13.67 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002197/0.513, allocations: 2.07 MB / 0.8092 GB, free: 12.7 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005327/0.5184, allocations: 5.137 MB / 0.8142 GB, free: 9.438 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001929/0.5203, allocations: 1.727 MB / 0.8159 GB, free: 8.656 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007649/0.5211, allocations: 0.7122 MB / 0.8166 GB, free: 8.129 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002432/0.5213, allocations: 121.2 kB / 0.8167 GB, free: 8.012 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001385/0.5227, allocations: 1.62 MB / 0.8183 GB, free: 6.227 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=146): time 3.026e-06/0.5227, allocations: 0 / 0.8183 GB, free: 6.227 MB / 0.6667 GB Notification: Performance of matching and sorting (n=146): time 0.003728/0.5264, allocations: 2.64 MB / 0.8208 GB, free: 3.566 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.882e-05/0.5265, allocations: 201.2 kB / 0.821 GB, free: 3.328 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002876/0.5294, allocations: 4.102 MB / 0.825 GB, free: 15.22 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.836e-05/0.5295, allocations: 57.7 kB / 0.8251 GB, free: 15.16 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006398/0.5301, allocations: 0.9232 MB / 0.826 GB, free: 14.23 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002517/0.5304, allocations: 499.6 kB / 0.8265 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002499/0.5306, allocations: 243.6 kB / 0.8267 GB, free: 13.49 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.5307, allocations: 357.9 kB / 0.8271 GB, free: 13.13 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007155/0.5314, allocations: 0.5887 MB / 0.8276 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009888/0.5324, allocations: 1.235 MB / 0.8288 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001491/0.5339, allocations: 1.337 MB / 0.8301 GB, free: 9.793 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.5339, allocations: 0 / 0.8301 GB, free: 9.793 MB / 0.6823 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.002206/0.5361, allocations: 1.804 MB / 0.8319 GB, free: 7.965 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.5362, allocations: 8 kB / 0.8319 GB, free: 7.957 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.5362, allocations: 6.062 kB / 0.8319 GB, free: 7.953 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005742/0.5367, allocations: 216 kB / 0.8321 GB, free: 7.727 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009032/0.5376, allocations: 335.5 kB / 0.8324 GB, free: 7.398 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003679/0.5413, allocations: 6.775 MB / 0.8391 GB, free: 44 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007356/0.5421, allocations: 175.4 kB / 0.8392 GB, free: 15.87 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.068e-05/0.5421, allocations: 51.97 kB / 0.8393 GB, free: 15.82 MB / 0.698 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.000529/0.5427, allocations: 494.1 kB / 0.8397 GB, free: 15.33 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002183/0.5429, allocations: 210.7 kB / 0.8399 GB, free: 15.12 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002573/0.5454, allocations: 2.154 MB / 0.842 GB, free: 12.94 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/0.5455, allocations: 20 kB / 0.8421 GB, free: 12.92 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.5455, allocations: 4 kB / 0.8421 GB, free: 12.92 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.5455, allocations: 7.969 kB / 0.8421 GB, free: 12.91 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004128/0.5496, allocations: 3.832 MB / 0.8458 GB, free: 9.012 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.5496, allocations: 4 kB / 0.8458 GB, free: 9.008 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008585/0.5505, allocations: 319.6 kB / 0.8461 GB, free: 8.695 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004029/0.5509, allocations: 200.1 kB / 0.8463 GB, free: 8.484 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.23e-05/0.5509, allocations: 43.91 kB / 0.8464 GB, free: 8.441 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003314/0.5542, allocations: 6.82 MB / 0.853 GB, free: 1.035 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.5542, allocations: 0 / 0.853 GB, free: 1.035 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002284/0.5565, allocations: 2.029 MB / 0.855 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005629/0.5571, allocations: 470 kB / 0.8555 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/0.5572, allocations: 35.98 kB / 0.8555 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006244/0.5578, allocations: 110.8 kB / 0.8556 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001738/0.558, allocations: 121 kB / 0.8557 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/0.5581, allocations: 71.94 kB / 0.8558 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002066/0.5602, allocations: 3.156 MB / 0.8589 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8e-08/0.5602, allocations: 0 / 0.8589 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001421/0.5616, allocations: 0.6937 MB / 0.8595 GB, free: 10.34 MB / 0.7136 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.003927/0.5655, allocations: 3.286 MB / 0.8627 GB, free: 7.25 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002137/0.5677, allocations: 2.012 MB / 0.8647 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.5677, allocations: 0.8906 kB / 0.8647 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001152/0.5688, allocations: 1.375 MB / 0.8661 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001309/0.5701, allocations: 0.5715 MB / 0.8666 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01923/0.5894, allocations: 21.25 MB / 0.8874 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006766/0.59, allocations: 0.958 MB / 0.8883 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001195/0.5912, allocations: 0.5213 MB / 0.8888 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008116/0.5921, allocations: 0.922 MB / 0.8897 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of SimCode: time 1.323e-06/0.5921, allocations: 0 / 0.8897 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06602/0.6581, allocations: 52.99 MB / 0.9415 GB, free: 6.977 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.752/10.41, allocations: 15.3 kB / 0.9415 GB, free: 6.965 MB / 0.7917 GB " [Timeout remaining time 649] (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: 13.36631803587079] Failed to read output from testmodel.py, exit status != 0: 10.580021085217595 10.60070154 10.09732168 Calling exit ...