Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.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.001286/0.001286, allocations: 116.1 kB / 17.17 MB, free: 6 MB / 14.72 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.001375/0.001375, allocations: 209.5 kB / 20.13 MB, free: 3.055 MB / 14.72 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.473/1.473, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8647/0.8647, allocations: 133.9 MB / 443.5 MB, free: 13.97 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_Angles,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="cs",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.002027/0.002027, allocations: 68.03 kB / 0.6141 GB, free: 38.34 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.172, allocations: 85.86 MB / 0.6979 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.2254/0.3974, allocations: 170.4 MB / 0.8644 GB, free: 3.832 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.4759/0.8733, allocations: 17.28 MB / 0.8813 GB, free: 1.711 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001387/0.8747, allocations: 41.22 kB / 0.8813 GB, free: 1.711 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001385/0.8761, allocations: 0.5535 MB / 0.8818 GB, free: 1.703 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005285/0.8814, allocations: 1.687 MB / 0.8835 GB, free: 1.648 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003723/0.8851, allocations: 1.411 MB / 0.8849 GB, free: 1.617 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004013/0.8891, allocations: 2.572 MB / 0.8874 GB, free: 1.609 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002326/0.8914, allocations: 1.644 MB / 0.889 GB, free: 1.48 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004367/0.8958, allocations: 1.449 MB / 0.8904 GB, free: 1.453 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001482/0.8973, allocations: 1.071 MB / 0.8914 GB, free: 1.453 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003075/0.8976, allocations: 212.4 kB / 0.8916 GB, free: 1.453 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002947/0.9005, allocations: 1.622 MB / 0.8932 GB, free: 1.43 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0005663/0.9011, allocations: 0.7942 MB / 0.894 GB, free: 1.426 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001086/0.9022, allocations: 1.198 MB / 0.8952 GB, free: 1.223 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004653/0.9068, allocations: 3.619 MB / 0.8987 GB, free: 0.6602 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.9068, allocations: 0.9375 kB / 0.8987 GB, free: 0.6602 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.794e-06/0.9068, allocations: 0 / 0.8987 GB, free: 0.6602 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6e-05/0.9069, allocations: 0.9062 kB / 0.8987 GB, free: 0.6602 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 418 * Number of variables: 418 Notification: Performance of Generate backend data structure: time 0.004965/0.9119, allocations: 2.925 MB / 0.9016 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.9119, allocations: 11.95 kB / 0.9016 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.955e-05/0.912, allocations: 44.97 kB / 0.9016 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002646/0.9122, allocations: 242.6 kB / 0.9018 GB, free: 15.15 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004304/0.9165, allocations: 0.6233 MB / 0.9025 GB, free: 15.01 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003737/0.9203, allocations: 3.439 MB / 0.9058 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.884e-05/0.9204, allocations: 126.4 kB / 0.9059 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002147/0.9206, allocations: 162.3 kB / 0.9061 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003116/0.9237, allocations: 1.891 MB / 0.9079 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.137e-05/0.9237, allocations: 3.938 kB / 0.9079 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001689/0.9239, allocations: 71.41 kB / 0.908 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.445e-05/0.9239, allocations: 39.53 kB / 0.908 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003452/0.9274, allocations: 2.066 MB / 0.9101 GB, free: 14.3 MB / 0.6856 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009208/0.9366, allocations: 6.205 MB / 0.9161 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003065/0.9397, allocations: 1.952 MB / 0.918 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0012/0.9408, allocations: 0.6897 MB / 0.9187 GB, free: 11.99 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006155/0.9415, allocations: 428 kB / 0.9191 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001699/0.9432, allocations: 0.9414 MB / 0.92 GB, free: 11.53 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=137): time 3.246e-06/0.9432, allocations: 0 / 0.92 GB, free: 11.53 MB / 0.6856 GB Notification: Performance of matching and sorting (n=137): time 0.006791/0.95, allocations: 2.882 MB / 0.9228 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001319/0.9501, allocations: 203.6 kB / 0.923 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004384/0.9545, allocations: 4.077 MB / 0.927 GB, free: 10.45 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0003197/0.9548, allocations: 57.14 kB / 0.9271 GB, free: 10.42 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000755/0.9555, allocations: 0.8921 MB / 0.9279 GB, free: 10.12 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005124/0.9561, allocations: 487.8 kB / 0.9284 GB, free: 9.805 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003621/0.9564, allocations: 223.3 kB / 0.9286 GB, free: 9.785 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.9566, allocations: 350.3 kB / 0.929 GB, free: 9.48 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001023/0.9576, allocations: 0.5543 MB / 0.9295 GB, free: 9.473 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001281/0.9589, allocations: 0.7745 MB / 0.9303 GB, free: 9.301 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00231/0.9612, allocations: 1.286 MB / 0.9315 GB, free: 9.012 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.9612, allocations: 0 / 0.9315 GB, free: 9.012 MB / 0.6856 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.004116/0.9653, allocations: 1.729 MB / 0.9332 GB, free: 8.383 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.9653, allocations: 5.469 kB / 0.9332 GB, free: 8.383 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.9653, allocations: 0 / 0.9332 GB, free: 8.383 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/0.9664, allocations: 210.7 kB / 0.9334 GB, free: 8.316 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001451/0.9678, allocations: 318.3 kB / 0.9337 GB, free: 8.305 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006538/0.9744, allocations: 7.325 MB / 0.9409 GB, free: 1.059 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001768/0.9761, allocations: 155.9 kB / 0.941 GB, free: 0.9648 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001355/0.9763, allocations: 53.45 kB / 0.9411 GB, free: 0.9414 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 128 * 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.001012/0.9773, allocations: 476.1 kB / 0.9415 GB, free: 0.6406 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004518/0.9777, allocations: 200.3 kB / 0.9417 GB, free: 0.5312 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004444/0.9822, allocations: 2.063 MB / 0.9437 GB, free: 15.48 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/0.9822, allocations: 15.97 kB / 0.9437 GB, free: 15.48 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.9822, allocations: 0 / 0.9437 GB, free: 15.48 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.695e-05/0.9822, allocations: 11.47 kB / 0.9438 GB, free: 15.47 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007075/0.9893, allocations: 3.97 MB / 0.9476 GB, free: 12.03 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.9893, allocations: 1.094 kB / 0.9476 GB, free: 12.03 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001499/0.9908, allocations: 313.4 kB / 0.9479 GB, free: 11.74 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008734/0.9917, allocations: 198 kB / 0.9481 GB, free: 11.54 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001032/0.9918, allocations: 39.97 kB / 0.9482 GB, free: 11.5 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006451/0.9982, allocations: 7.356 MB / 0.9553 GB, free: 3.504 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.9982, allocations: 9.031 kB / 0.9553 GB, free: 3.496 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004625/1.003, allocations: 1.932 MB / 0.9572 GB, free: 1.539 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001035/1.004, allocations: 0.504 MB / 0.9577 GB, free: 1.016 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000244/1.004, allocations: 31.98 kB / 0.9578 GB, free: 0.9844 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001237/1.005, allocations: 97.97 kB / 0.9579 GB, free: 0.8945 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002497/1.006, allocations: 105.1 kB / 0.958 GB, free: 0.7969 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001499/1.006, allocations: 67.89 kB / 0.958 GB, free: 0.7305 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.003621/1.009, allocations: 3.141 MB / 0.9611 GB, free: 13.6 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/1.009, allocations: 3.938 kB / 0.9611 GB, free: 13.59 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002066/1.011, allocations: 0.643 MB / 0.9617 GB, free: 12.95 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.006862/1.018, allocations: 3.133 MB / 0.9648 GB, free: 10.06 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003929/1.022, allocations: 1.945 MB / 0.9667 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.525e-06/1.022, allocations: 0.7969 kB / 0.9667 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002224/1.024, allocations: 1.334 MB / 0.968 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002779/1.027, allocations: 0.5255 MB / 0.9685 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03433/1.062, allocations: 20.89 MB / 0.9889 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001324/1.063, allocations: 1.526 MB / 0.9904 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001836/1.065, allocations: 0.5127 MB / 0.9909 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001292/1.066, allocations: 0.8819 MB / 0.9917 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of SimCode: time 1.162e-06/1.066, allocations: 4 kB / 0.9917 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1053/1.171, allocations: 47.87 MB / 1.038 GB, free: 14.83 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.95/17.12, allocations: 7.922 kB / 1.039 GB, free: 14.82 MB / 0.795 GB " [Timeout remaining time 642] (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 21.17144271498546] Failed to read output from testmodel.py, exit status != 0: 17.684475779999048 17.405337035 16.495190877 Calling exit ...