Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.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.00112/0.00112, 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.001239/0.001239, 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.9083/0.9083, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.7248/0.7248, allocations: 154.6 MB / 413.7 MB, free: 0.832 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.Examples.Outside_CpData_Specification,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.618 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.794e-05/1.95e-05, allocations: 10.77 kB / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.3923/0.3923, allocations: 135.9 MB / 0.7508 GB, free: 16.16 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.009255/0.4016, allocations: 9.941 MB / 0.7605 GB, free: 9.52 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007199/0.4023, allocations: 32.97 kB / 0.7605 GB, free: 9.5 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0007032/0.403, allocations: 287.4 kB / 0.7608 GB, free: 9.316 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002299/0.4053, allocations: 1.03 MB / 0.7618 GB, free: 8.754 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001886/0.4072, allocations: 1.11 MB / 0.7629 GB, free: 8.16 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001337/0.4085, allocations: 1.797 MB / 0.7646 GB, free: 7.223 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009874/0.4095, allocations: 0.9251 MB / 0.7655 GB, free: 6.746 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001444/0.4109, allocations: 1.026 MB / 0.7665 GB, free: 6.285 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005146/0.4115, allocations: 0.5027 MB / 0.767 GB, free: 6.098 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001516/0.4116, allocations: 137.4 kB / 0.7671 GB, free: 6.098 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001494/0.4131, allocations: 1.025 MB / 0.7681 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002345/0.4133, allocations: 396.8 kB / 0.7685 GB, free: 5.578 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0003736/0.4137, allocations: 472.9 kB / 0.769 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002314/0.416, allocations: 2.444 MB / 0.7714 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.416, allocations: 0 / 0.7714 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.463e-06/0.416, allocations: 0 / 0.7714 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.761e-05/0.416, allocations: 0 / 0.7714 GB, free: 4.391 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002022/0.4181, allocations: 1.715 MB / 0.773 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.4181, allocations: 11.72 kB / 0.773 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000134/0.4182, allocations: 156.9 kB / 0.7732 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001117/0.4194, allocations: 324.6 kB / 0.7735 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009864/0.4203, allocations: 1.029 MB / 0.7745 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.736e-05/0.4204, allocations: 77.72 kB / 0.7746 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.123e-05/0.4205, allocations: 94.27 kB / 0.7747 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/0.4217, allocations: 1.485 MB / 0.7761 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.4217, allocations: 0 / 0.7761 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.223e-05/0.4217, allocations: 42.59 kB / 0.7762 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/0.4218, allocations: 28.06 kB / 0.7762 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00136/0.4231, allocations: 1.273 MB / 0.7774 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00298/0.4261, allocations: 2.763 MB / 0.7801 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001342/0.4274, allocations: 0.9712 MB / 0.7811 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004975/0.4279, allocations: 388.8 kB / 0.7815 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001398/0.4281, allocations: 67.5 kB / 0.7815 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007892/0.4289, allocations: 0.8386 MB / 0.7823 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=95): time 2.144e-06/0.4289, allocations: 1.344 kB / 0.7823 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of matching and sorting (n=95): time 0.002401/0.4313, allocations: 1.494 MB / 0.7838 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.149e-05/0.4313, allocations: 193.7 kB / 0.784 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008521/0.4322, allocations: 1.049 MB / 0.785 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.837e-05/0.4323, allocations: 47.61 kB / 0.7851 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002409/0.4325, allocations: 487.4 kB / 0.7855 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001664/0.4327, allocations: 323.9 kB / 0.7858 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001707/0.4328, allocations: 169 kB / 0.786 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.478e-05/0.4329, allocations: 344.5 kB / 0.7863 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004112/0.4333, allocations: 331.9 kB / 0.7866 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005449/0.4339, allocations: 0.6656 MB / 0.7873 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008749/0.4348, allocations: 0.7647 MB / 0.788 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.4348, allocations: 0 / 0.788 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001343/0.4361, allocations: 1.048 MB / 0.7891 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.4361, allocations: 5.469 kB / 0.7891 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.4361, allocations: 3.938 kB / 0.7891 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003689/0.4365, allocations: 115.3 kB / 0.7892 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004516/0.4369, allocations: 195 kB / 0.7894 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001766/0.4387, allocations: 2.839 MB / 0.7921 GB, free: 8.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000406/0.4391, allocations: 117.3 kB / 0.7922 GB, free: 8.266 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.81e-05/0.4392, allocations: 38.58 kB / 0.7923 GB, free: 8.258 MB / 0.6511 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 (100): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000303/0.4395, allocations: 313.8 kB / 0.7926 GB, free: 8.031 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.4396, allocations: 105.7 kB / 0.7927 GB, free: 7.977 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001651/0.4412, allocations: 1.322 MB / 0.794 GB, free: 7.469 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.4413, allocations: 10.44 kB / 0.794 GB, free: 7.469 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.267e-06/0.4413, allocations: 2.719 kB / 0.794 GB, free: 7.469 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.4413, allocations: 10.88 kB / 0.794 GB, free: 7.465 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002444/0.4437, allocations: 2.261 MB / 0.7962 GB, free: 6.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.4437, allocations: 0 / 0.7962 GB, free: 6.43 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004159/0.4441, allocations: 201.3 kB / 0.7964 GB, free: 6.379 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000257/0.4444, allocations: 98.56 kB / 0.7965 GB, free: 6.328 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.199e-05/0.4444, allocations: 24.39 kB / 0.7965 GB, free: 6.312 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001604/0.446, allocations: 2.885 MB / 0.7993 GB, free: 3.488 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.446, allocations: 2.875 kB / 0.7993 GB, free: 3.488 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001425/0.4475, allocations: 1.242 MB / 0.8005 GB, free: 2.801 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003159/0.4478, allocations: 252 kB / 0.8008 GB, free: 2.613 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.618e-05/0.4479, allocations: 28.17 kB / 0.8008 GB, free: 2.594 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003998/0.4483, allocations: 78.61 kB / 0.8009 GB, free: 2.555 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.4484, allocations: 89.09 kB / 0.801 GB, free: 2.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.97e-05/0.4484, allocations: 42.56 kB / 0.801 GB, free: 2.484 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005477/0.449, allocations: 0.7684 MB / 0.8018 GB, free: 2.09 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8e-08/0.449, allocations: 3.938 kB / 0.8018 GB, free: 2.086 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009119/0.4499, allocations: 457.4 kB / 0.8022 GB, free: 1.961 MB / 0.6511 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 (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.002814/0.4527, allocations: 2.454 MB / 0.8046 GB, free: 0.5391 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001367/0.4541, allocations: 1.085 MB / 0.8057 GB, free: 15.92 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4541, allocations: 0 / 0.8057 GB, free: 15.92 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0007286/0.4548, allocations: 0.6997 MB / 0.8063 GB, free: 15.47 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009452/0.4557, allocations: 366.1 kB / 0.8067 GB, free: 15.29 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00875/0.4645, allocations: 8.491 MB / 0.815 GB, free: 9.195 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003564/0.4649, allocations: 0.5088 MB / 0.8155 GB, free: 8.645 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0006534/0.4655, allocations: 316.1 kB / 0.8158 GB, free: 8.332 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004588/0.466, allocations: 472.3 kB / 0.8162 GB, free: 7.871 MB / 0.6667 GB Notification: Performance of SimCode: time 8.82e-07/0.466, allocations: 4 kB / 0.8162 GB, free: 7.867 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04055/0.5065, allocations: 30.63 MB / 0.8461 GB, free: 9.68 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.14/10.65, allocations: 15.27 kB / 0.8462 GB, free: 9.668 MB / 0.698 GB " [Timeout remaining time 649] (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification_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_Examples_Outside_CpData_Specification.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.58448795042932] Failed to read output from testmodel.py, exit status != 0: 10.813133617863059 10.826451663 10.408518882 Calling exit ...