Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00884/0.00884, allocations: 100.1 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001669/0.001669, allocations: 197.1 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8013/0.8013, allocations: 135.1 MB / 425.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 58.31 kB / 0.5851 GB, free: 21.9 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1486, allocations: 80.93 MB / 0.6641 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData): time 0.5539/0.7025, allocations: 166.9 MB / 0.8272 GB, free: 0.5156 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02453/0.7271, allocations: 17.11 MB / 0.8439 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001837/0.729, allocations: 32.44 kB / 0.8439 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002121/0.7312, allocations: 0.5377 MB / 0.8444 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005443/0.7366, allocations: 1.669 MB / 0.8461 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00385/0.7405, allocations: 1.391 MB / 0.8474 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003228/0.7437, allocations: 2.536 MB / 0.8499 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002828/0.7466, allocations: 1.95 MB / 0.8518 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004145/0.7507, allocations: 1.394 MB / 0.8532 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001757/0.7525, allocations: 1.023 MB / 0.8542 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0006971/0.7532, allocations: 209 kB / 0.8544 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004063/0.7573, allocations: 1.545 MB / 0.8559 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001022/0.7584, allocations: 0.772 MB / 0.8566 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.002169/0.7605, allocations: 1.181 MB / 0.8578 GB, free: 9.141 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.007071/0.7676, allocations: 3.528 MB / 0.8612 GB, free: 5.602 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.7677, allocations: 0 / 0.8612 GB, free: 5.602 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.843e-06/0.7677, allocations: 0 / 0.8612 GB, free: 5.602 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001152/0.7678, allocations: 0 / 0.8612 GB, free: 5.602 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 417 * Number of variables: 417 Notification: Performance of Generate backend data structure: time 0.006442/0.7742, allocations: 2.778 MB / 0.8639 GB, free: 2.758 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.7743, allocations: 13.11 kB / 0.8639 GB, free: 2.746 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000498/0.7748, allocations: 236.5 kB / 0.8642 GB, free: 2.504 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0039/0.7787, allocations: 0.5551 MB / 0.8647 GB, free: 1.945 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004635/0.7834, allocations: 3.397 MB / 0.868 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001177/0.7835, allocations: 127.3 kB / 0.8681 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003605/0.7839, allocations: 163.9 kB / 0.8683 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00401/0.7879, allocations: 1.88 MB / 0.8701 GB, free: 12.28 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.918e-05/0.788, allocations: 0 / 0.8701 GB, free: 12.28 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002488/0.7882, allocations: 68 kB / 0.8702 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.237e-05/0.7883, allocations: 40 kB / 0.8702 GB, free: 12.17 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003901/0.7922, allocations: 2.042 MB / 0.8722 GB, free: 10.12 MB / 0.6387 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.01103/0.8033, allocations: 6.019 MB / 0.8781 GB, free: 3.848 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003589/0.8069, allocations: 2.004 MB / 0.8801 GB, free: 1.77 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001279/0.8082, allocations: 0.7296 MB / 0.8808 GB, free: 1.039 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006447/0.8089, allocations: 433.7 kB / 0.8812 GB, free: 0.543 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001758/0.8106, allocations: 0.9238 MB / 0.8821 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=137): time 3.757e-06/0.8107, allocations: 3.938 kB / 0.8821 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of matching and sorting (n=137): time 0.006951/0.8176, allocations: 2.836 MB / 0.8849 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000152/0.8178, allocations: 201.2 kB / 0.8851 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005655/0.8235, allocations: 4.011 MB / 0.889 GB, free: 8.387 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0003907/0.8239, allocations: 53.7 kB / 0.889 GB, free: 8.328 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009952/0.8249, allocations: 0.8628 MB / 0.8899 GB, free: 7.453 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006702/0.8256, allocations: 461.3 kB / 0.8903 GB, free: 6.996 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000578/0.8262, allocations: 218.8 kB / 0.8905 GB, free: 6.777 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.8264, allocations: 361.8 kB / 0.8909 GB, free: 6.418 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001109/0.8275, allocations: 0.5374 MB / 0.8914 GB, free: 5.879 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001229/0.8288, allocations: 0.7519 MB / 0.8921 GB, free: 5.062 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002229/0.831, allocations: 1.263 MB / 0.8934 GB, free: 3.789 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.831, allocations: 3.938 kB / 0.8934 GB, free: 3.785 MB / 0.6544 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003998/0.835, allocations: 1.69 MB / 0.895 GB, free: 2.07 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.203e-05/0.8351, allocations: 16.03 kB / 0.895 GB, free: 2.055 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.8351, allocations: 0 / 0.895 GB, free: 2.055 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001052/0.8362, allocations: 212.1 kB / 0.8952 GB, free: 1.832 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001444/0.8376, allocations: 311.6 kB / 0.8955 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006344/0.844, allocations: 7.309 MB / 0.9027 GB, free: 9.516 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001604/0.8456, allocations: 154.8 kB / 0.9028 GB, free: 9.363 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00022/0.8459, allocations: 43.97 kB / 0.9029 GB, free: 9.32 MB / 0.67 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 (132): * Single equations (assignments): 127 * 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.001188/0.8471, allocations: 481.4 kB / 0.9033 GB, free: 8.84 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006515/0.8477, allocations: 181.8 kB / 0.9035 GB, free: 8.66 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004702/0.8524, allocations: 2.031 MB / 0.9055 GB, free: 6.605 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.524e-05/0.8525, allocations: 12 kB / 0.9055 GB, free: 6.594 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.8525, allocations: 4 kB / 0.9055 GB, free: 6.59 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.574e-05/0.8525, allocations: 7.969 kB / 0.9055 GB, free: 6.582 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007909/0.8605, allocations: 3.92 MB / 0.9093 GB, free: 2.582 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.8605, allocations: 0 / 0.9093 GB, free: 2.582 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001484/0.862, allocations: 319.5 kB / 0.9096 GB, free: 2.27 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009098/0.8629, allocations: 208.1 kB / 0.9098 GB, free: 2.051 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001465/0.8631, allocations: 35.97 kB / 0.9099 GB, free: 2.016 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006553/0.8697, allocations: 7.336 MB / 0.917 GB, free: 9.965 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.8697, allocations: 3.938 kB / 0.917 GB, free: 9.961 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004897/0.8746, allocations: 1.914 MB / 0.9189 GB, free: 8.012 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001485/0.8761, allocations: 0.4904 MB / 0.9194 GB, free: 7.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006226/0.8768, allocations: 24 kB / 0.9194 GB, free: 7.477 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001569/0.8784, allocations: 101 kB / 0.9195 GB, free: 7.383 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002903/0.8787, allocations: 101.2 kB / 0.9196 GB, free: 7.285 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002173/0.8789, allocations: 63.95 kB / 0.9197 GB, free: 7.223 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.003872/0.8828, allocations: 3.091 MB / 0.9227 GB, free: 4.137 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.51e-07/0.8828, allocations: 0 / 0.9227 GB, free: 4.137 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002308/0.8851, allocations: 0.6313 MB / 0.9233 GB, free: 3.504 MB / 0.6856 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.006027/0.8912, allocations: 3.103 MB / 0.9263 GB, free: 0.5391 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003238/0.8945, allocations: 1.973 MB / 0.9282 GB, free: 14.5 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.8945, allocations: 0.7969 kB / 0.9282 GB, free: 14.5 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.00199/0.8965, allocations: 1.368 MB / 0.9296 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002521/0.899, allocations: 0.5289 MB / 0.9301 GB, free: 12.56 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03148/0.9305, allocations: 20.39 MB / 0.95 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001833/0.9324, allocations: 1.517 MB / 0.9515 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002154/0.9346, allocations: 0.5127 MB / 0.952 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001487/0.9361, allocations: 0.8428 MB / 0.9528 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of SimCode: time 6.01e-07/0.9361, allocations: 4 kB / 0.9528 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1005/1.037, allocations: 46.63 MB / 0.9984 GB, free: 6.758 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.71/15.74, allocations: 6.688 kB / 0.9984 GB, free: 6.754 MB / 0.7637 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)