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.0008912/0.0008912, allocations: 109.3 kB / 18.93 MB, free: 1.273 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.00107/0.00107, allocations: 218.2 kB / 22.25 MB, free: 3.699 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 1.02/1.02, allocations: 230.6 MB / 256 MB, free: 9.797 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.8173/0.8173, allocations: 203.8 MB / 0.5042 GB, free: 10.73 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.0009786/0.0009786, allocations: 67.3 kB / 0.7182 GB, free: 4.371 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5172/0.5182, allocations: 102 MB / 0.8179 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1598/0.6779, allocations: 172.1 MB / 0.9859 GB, free: 9.25 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01908/0.697, allocations: 17.76 MB / 1.003 GB, free: 7.434 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001591/0.6986, allocations: 43.62 kB / 1.003 GB, free: 7.391 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001682/0.7003, allocations: 0.5972 MB / 1.004 GB, free: 6.789 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.004306/0.7046, allocations: 1.86 MB / 1.006 GB, free: 4.926 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.002814/0.7074, allocations: 1.505 MB / 1.007 GB, free: 3.441 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.003385/0.7108, allocations: 2.91 MB / 1.01 GB, free: 0.5195 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001945/0.7127, allocations: 1.614 MB / 1.012 GB, free: 14.84 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003295/0.716, allocations: 1.508 MB / 1.013 GB, free: 13.38 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001417/0.7174, allocations: 1.167 MB / 1.014 GB, free: 12.2 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0003924/0.7178, allocations: 224 kB / 1.014 GB, free: 11.98 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002938/0.7208, allocations: 1.665 MB / 1.016 GB, free: 10.32 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0009227/0.7217, allocations: 0.8178 MB / 1.017 GB, free: 9.5 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.001221/0.7229, allocations: 1.283 MB / 1.018 GB, free: 8.211 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.005407/0.7283, allocations: 3.81 MB / 1.022 GB, free: 4.387 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.7283, allocations: 0 / 1.022 GB, free: 4.387 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.494e-06/0.7283, allocations: 0 / 1.022 GB, free: 4.387 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 8.402e-05/0.7284, allocations: 0 / 1.022 GB, free: 4.387 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.004474/0.7329, allocations: 2.972 MB / 1.025 GB, free: 1.367 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/0.7329, allocations: 8.031 kB / 1.025 GB, free: 1.359 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002164/0.7332, allocations: 244.9 kB / 1.025 GB, free: 1.109 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002362/0.7355, allocations: 0.6384 MB / 1.026 GB, free: 480 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003167/0.7387, allocations: 3.362 MB / 1.029 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.229e-05/0.7388, allocations: 131.4 kB / 1.029 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001437/0.7389, allocations: 164 kB / 1.029 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002587/0.7415, allocations: 1.96 MB / 1.031 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/0.7415, allocations: 3.938 kB / 1.031 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/0.7416, allocations: 76 kB / 1.031 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.368e-05/0.7416, allocations: 44 kB / 1.031 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002351/0.744, allocations: 2.12 MB / 1.033 GB, free: 8.523 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00721/0.7512, allocations: 6.866 MB / 1.04 GB, free: 1.262 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002288/0.7535, allocations: 1.744 MB / 1.042 GB, free: 15.52 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000835/0.7543, allocations: 0.7144 MB / 1.042 GB, free: 14.8 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002832/0.7546, allocations: 117.2 kB / 1.043 GB, free: 14.68 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001241/0.7559, allocations: 1.027 MB / 1.044 GB, free: 13.64 MB / 0.823 GB Notification: Performance of pre-optimization done (n=146): time 3.066e-06/0.7559, allocations: 0 / 1.044 GB, free: 13.64 MB / 0.823 GB Notification: Performance of matching and sorting (n=146): time 0.004584/0.7604, allocations: 2.633 MB / 1.046 GB, free: 10.98 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.7606, allocations: 197.2 kB / 1.046 GB, free: 10.75 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003768/0.7643, allocations: 4.098 MB / 1.05 GB, free: 6.648 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002809/0.7646, allocations: 61.7 kB / 1.05 GB, free: 6.582 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006431/0.7652, allocations: 0.9193 MB / 1.051 GB, free: 5.652 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000819/0.7661, allocations: 0.5035 MB / 1.052 GB, free: 5.145 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002694/0.7663, allocations: 238.8 kB / 1.052 GB, free: 4.902 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.7664, allocations: 357.9 kB / 1.052 GB, free: 4.547 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007983/0.7672, allocations: 0.5843 MB / 1.053 GB, free: 3.965 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009079/0.7681, allocations: 0.8086 MB / 1.054 GB, free: 3.09 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001592/0.7697, allocations: 1.329 MB / 1.055 GB, free: 1.754 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.7697, allocations: 0 / 1.055 GB, free: 1.754 MB / 0.823 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.00281/0.7726, allocations: 1.819 MB / 1.057 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/0.7726, allocations: 6.344 kB / 1.057 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.7726, allocations: 0 / 1.057 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006179/0.7732, allocations: 212.1 kB / 1.057 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008914/0.7741, allocations: 323.6 kB / 1.057 GB, free: 15.37 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00447/0.7786, allocations: 6.813 MB / 1.064 GB, free: 7.973 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001225/0.7798, allocations: 174.7 kB / 1.064 GB, free: 7.805 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001249/0.7799, allocations: 51.95 kB / 1.064 GB, free: 7.754 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.0009957/0.7809, allocations: 494.1 kB / 1.065 GB, free: 7.262 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004442/0.7814, allocations: 206.9 kB / 1.065 GB, free: 7.059 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003246/0.7846, allocations: 2.154 MB / 1.067 GB, free: 4.875 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.7846, allocations: 16 kB / 1.067 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.7846, allocations: 0 / 1.067 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.261e-05/0.7846, allocations: 11.97 kB / 1.067 GB, free: 4.848 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005732/0.7904, allocations: 4.124 MB / 1.071 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.7904, allocations: 0 / 1.071 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008427/0.7912, allocations: 331.5 kB / 1.071 GB, free: 340 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004894/0.7917, allocations: 192.1 kB / 1.071 GB, free: 132 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001045/0.7918, allocations: 43.95 kB / 1.071 GB, free: 88 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004512/0.7963, allocations: 6.852 MB / 1.078 GB, free: 8.656 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.7963, allocations: 0 / 1.078 GB, free: 8.656 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003463/0.7998, allocations: 2.029 MB / 1.08 GB, free: 6.594 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009554/0.8007, allocations: 454 kB / 1.081 GB, free: 6.148 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000241/0.801, allocations: 36 kB / 1.081 GB, free: 6.113 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008278/0.8018, allocations: 104.8 kB / 1.081 GB, free: 6.012 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002209/0.802, allocations: 125.1 kB / 1.081 GB, free: 5.887 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001186/0.8021, allocations: 71.94 kB / 1.081 GB, free: 5.816 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.002664/0.8048, allocations: 3.148 MB / 1.084 GB, free: 2.676 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.21e-07/0.8048, allocations: 0 / 1.084 GB, free: 2.676 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002051/0.8069, allocations: 0.6976 MB / 1.085 GB, free: 1.977 MB / 0.8542 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.004845/0.8117, allocations: 3.221 MB / 1.088 GB, free: 14.93 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0027/0.8144, allocations: 2.027 MB / 1.09 GB, free: 12.84 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-05/0.8144, allocations: 12.7 kB / 1.09 GB, free: 12.82 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001411/0.8158, allocations: 1.371 MB / 1.091 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002005/0.8178, allocations: 0.5548 MB / 1.092 GB, free: 10.86 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0249/0.8427, allocations: 21.17 MB / 1.112 GB, free: 5.453 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000918/0.8437, allocations: 1.537 MB / 1.114 GB, free: 3.883 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001487/0.8451, allocations: 0.5291 MB / 1.114 GB, free: 3.348 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001309/0.8464, allocations: 0.9053 MB / 1.115 GB, free: 2.441 MB / 0.8855 GB Notification: Performance of SimCode: time 1.573e-06/0.8465, allocations: 0 / 1.115 GB, free: 2.441 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4484/1.295, allocations: 50.9 MB / 1.165 GB, free: 295.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/12.54, allocations: 3.656 kB / 1.165 GB, free: 295.8 MB / 0.9167 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 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.822409871965647] Failed to read output from testmodel.py, exit status != 0: 12.709780307020992 12.719067037 11.9887331 Calling exit ...