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.001136/0.001136, 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.0009332/0.0009332, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9018/0.9018, allocations: 177.2 MB / 202.8 MB, free: 5.742 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.7143/0.7143, allocations: 154.6 MB / 413.7 MB, free: 0.8242 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.743e-06/1.743e-06, allocations: 0 / 0.618 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.484e-05/1.658e-05, allocations: 10.22 kB / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.3844/0.3844, allocations: 135.9 MB / 0.7508 GB, free: 16.25 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.007975/0.3924, allocations: 9.95 MB / 0.7605 GB, free: 9.605 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004217/0.3928, allocations: 28.75 kB / 0.7605 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.000728/0.3936, allocations: 288.4 kB / 0.7608 GB, free: 9.406 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001972/0.3955, allocations: 1.029 MB / 0.7618 GB, free: 8.844 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001746/0.3973, allocations: 1.118 MB / 0.7629 GB, free: 8.242 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001358/0.3986, allocations: 1.781 MB / 0.7646 GB, free: 7.32 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009408/0.3996, allocations: 0.9323 MB / 0.7655 GB, free: 6.84 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00147/0.4011, allocations: 1.032 MB / 0.7665 GB, free: 6.371 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005244/0.4016, allocations: 0.4971 MB / 0.767 GB, free: 6.188 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001452/0.4017, allocations: 136.3 kB / 0.7671 GB, free: 6.188 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00161/0.4033, allocations: 1.026 MB / 0.7681 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003117/0.4036, allocations: 396 kB / 0.7685 GB, free: 5.668 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0003794/0.404, allocations: 468.7 kB / 0.769 GB, free: 5.441 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002515/0.4065, allocations: 2.444 MB / 0.7714 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.4066, allocations: 2.156 kB / 0.7714 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.755e-06/0.4066, allocations: 1.219 kB / 0.7714 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.76e-05/0.4066, allocations: 0 / 0.7714 GB, free: 4.484 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.002242/0.4088, allocations: 1.718 MB / 0.773 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.4089, allocations: 11.69 kB / 0.773 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001414/0.409, allocations: 150.8 kB / 0.7732 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001227/0.4102, allocations: 327.7 kB / 0.7735 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001141/0.4114, allocations: 1.029 MB / 0.7745 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.968e-05/0.4114, allocations: 70.06 kB / 0.7746 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/0.4115, allocations: 94.69 kB / 0.7747 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001404/0.4129, allocations: 1.492 MB / 0.7761 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.413, allocations: 0 / 0.7761 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.752e-05/0.413, allocations: 42.34 kB / 0.7762 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.083e-05/0.4131, allocations: 24 kB / 0.7762 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001537/0.4146, allocations: 1.276 MB / 0.7774 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003194/0.4178, allocations: 2.776 MB / 0.7801 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001469/0.4193, allocations: 0.963 MB / 0.7811 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005251/0.4198, allocations: 389.4 kB / 0.7815 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001476/0.4199, allocations: 58.77 kB / 0.7815 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008348/0.4208, allocations: 0.8465 MB / 0.7823 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=95): time 2.184e-06/0.4208, allocations: 4 kB / 0.7823 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of matching and sorting (n=95): time 0.002736/0.4235, allocations: 1.487 MB / 0.7838 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.055e-05/0.4236, allocations: 200.7 kB / 0.784 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009308/0.4245, allocations: 1.049 MB / 0.785 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.22e-05/0.4246, allocations: 43.36 kB / 0.7851 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002657/0.4248, allocations: 487.9 kB / 0.7855 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001768/0.425, allocations: 326.8 kB / 0.7858 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001842/0.4252, allocations: 169.9 kB / 0.786 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.4253, allocations: 343.1 kB / 0.7863 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004371/0.4258, allocations: 335.3 kB / 0.7866 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006364/0.4264, allocations: 0.664 MB / 0.7873 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009763/0.4274, allocations: 0.7702 MB / 0.788 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.4274, allocations: 0 / 0.788 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001459/0.4288, allocations: 1.041 MB / 0.7891 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.4288, allocations: 7.734 kB / 0.7891 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.4289, allocations: 6.438 kB / 0.7891 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003871/0.4292, allocations: 113.8 kB / 0.7892 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004636/0.4297, allocations: 198.2 kB / 0.7894 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002079/0.4318, allocations: 2.842 MB / 0.7921 GB, free: 8.402 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004471/0.4322, allocations: 118.3 kB / 0.7923 GB, free: 8.344 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.131e-05/0.4323, allocations: 35.73 kB / 0.7923 GB, free: 8.336 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.0003321/0.4326, allocations: 301.4 kB / 0.7926 GB, free: 8.125 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/0.4327, allocations: 106.2 kB / 0.7927 GB, free: 8.07 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001673/0.4344, allocations: 1.327 MB / 0.794 GB, free: 7.559 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.4344, allocations: 10.78 kB / 0.794 GB, free: 7.559 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.4344, allocations: 0 / 0.794 GB, free: 7.559 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.4344, allocations: 10.97 kB / 0.794 GB, free: 7.555 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002489/0.4369, allocations: 2.277 MB / 0.7962 GB, free: 6.461 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.4369, allocations: 0 / 0.7962 GB, free: 6.461 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004091/0.4373, allocations: 183.6 kB / 0.7964 GB, free: 6.422 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002624/0.4376, allocations: 108.7 kB / 0.7965 GB, free: 6.359 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.531e-05/0.4376, allocations: 27.52 kB / 0.7965 GB, free: 6.344 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001646/0.4393, allocations: 2.876 MB / 0.7993 GB, free: 3.527 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4393, allocations: 3.938 kB / 0.7993 GB, free: 3.523 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001443/0.4407, allocations: 1.25 MB / 0.8006 GB, free: 2.832 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003127/0.441, allocations: 252.5 kB / 0.8008 GB, free: 2.645 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.226e-05/0.4411, allocations: 17.38 kB / 0.8008 GB, free: 2.633 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004099/0.4415, allocations: 80.72 kB / 0.8009 GB, free: 2.594 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.4417, allocations: 82.56 kB / 0.801 GB, free: 2.543 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.319e-05/0.4417, allocations: 48.97 kB / 0.801 GB, free: 2.523 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005737/0.4423, allocations: 0.7687 MB / 0.8018 GB, free: 2.129 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1e-07/0.4423, allocations: 3.938 kB / 0.8018 GB, free: 2.125 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00095/0.4432, allocations: 453.2 kB / 0.8022 GB, free: 2.004 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.002795/0.446, allocations: 2.457 MB / 0.8046 GB, free: 0.5742 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001251/0.4473, allocations: 1.083 MB / 0.8057 GB, free: 15.96 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4473, allocations: 0 / 0.8057 GB, free: 15.96 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0006637/0.448, allocations: 0.6995 MB / 0.8063 GB, free: 15.51 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008695/0.4488, allocations: 363.8 kB / 0.8067 GB, free: 15.33 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008664/0.4575, allocations: 8.478 MB / 0.815 GB, free: 9.242 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003708/0.4579, allocations: 0.5166 MB / 0.8155 GB, free: 8.684 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0006734/0.4585, allocations: 312.1 kB / 0.8158 GB, free: 8.375 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004969/0.459, allocations: 476.3 kB / 0.8162 GB, free: 7.91 MB / 0.6667 GB Notification: Performance of SimCode: time 6.71e-07/0.459, allocations: 3.938 kB / 0.8162 GB, free: 7.906 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04012/0.4992, allocations: 30.64 MB / 0.8461 GB, free: 9.715 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.254/9.753, allocations: 15.08 kB / 0.8462 GB, free: 9.703 MB / 0.698 GB " [Timeout remaining time 650] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 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: 12.51686243712902] Failed to read output from testmodel.py, exit status != 0: 9.910815570503473 9.92156366 9.513162026 Calling exit ...