Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) 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.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_IDEAS_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="IDEAS_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.005642/0.005642, allocations: 107 kB / 15.74 MB, free: 5.996 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.00121/0.001211, allocations: 197.6 kB / 16.68 MB, free: 5.918 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.288/1.288, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7779/0.7779, allocations: 132.2 MB / 422.7 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002217/0.002217, allocations: 62.8 kB / 0.5808 GB, free: 24.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.2005, allocations: 80.21 MB / 0.6592 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData): time 0.5966/0.7972, allocations: 166.9 MB / 0.8222 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01984/0.8171, allocations: 17.09 MB / 0.8389 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002205/0.8194, allocations: 31.88 kB / 0.8389 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001784/0.8212, allocations: 0.5427 MB / 0.8394 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004913/0.8261, allocations: 1.681 MB / 0.8411 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003526/0.8297, allocations: 1.389 MB / 0.8424 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002945/0.8326, allocations: 2.529 MB / 0.8449 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002402/0.835, allocations: 1.95 MB / 0.8468 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003492/0.8385, allocations: 1.398 MB / 0.8482 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001311/0.8399, allocations: 1.021 MB / 0.8492 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002509/0.8401, allocations: 210.3 kB / 0.8494 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0029/0.8431, allocations: 1.544 MB / 0.8509 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005831/0.8436, allocations: 0.7699 MB / 0.8516 GB, free: 216 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001128/0.8448, allocations: 1.18 MB / 0.8528 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.005162/0.85, allocations: 3.537 MB / 0.8562 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.85, allocations: 0 / 0.8562 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.774e-06/0.85, allocations: 0 / 0.8562 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.214e-05/0.85, allocations: 0 / 0.8562 GB, free: 12.39 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.004193/0.8542, allocations: 2.767 MB / 0.8589 GB, free: 9.559 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.8543, allocations: 12.03 kB / 0.859 GB, free: 9.547 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002511/0.8545, allocations: 236.5 kB / 0.8592 GB, free: 9.305 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00346/0.858, allocations: 0.5706 MB / 0.8597 GB, free: 8.73 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003956/0.862, allocations: 3.381 MB / 0.863 GB, free: 5.297 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/0.8621, allocations: 123.3 kB / 0.8632 GB, free: 5.176 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002096/0.8623, allocations: 167.9 kB / 0.8633 GB, free: 5.012 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002846/0.8652, allocations: 1.877 MB / 0.8652 GB, free: 3.082 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.187e-05/0.8652, allocations: 4 kB / 0.8652 GB, free: 3.078 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001435/0.8654, allocations: 68 kB / 0.8652 GB, free: 3.012 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.313e-05/0.8654, allocations: 40 kB / 0.8653 GB, free: 2.973 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00326/0.8687, allocations: 2.042 MB / 0.8673 GB, free: 0.9258 MB / 0.6231 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.007799/0.8765, allocations: 6.026 MB / 0.8731 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002835/0.8793, allocations: 2.008 MB / 0.8751 GB, free: 8.551 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001101/0.8804, allocations: 0.7374 MB / 0.8758 GB, free: 7.809 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005471/0.881, allocations: 425.7 kB / 0.8762 GB, free: 7.32 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001435/0.8824, allocations: 0.9309 MB / 0.8771 GB, free: 6.371 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=137): time 2.786e-06/0.8825, allocations: 0 / 0.8771 GB, free: 6.371 MB / 0.6387 GB Notification: Performance of matching and sorting (n=137): time 0.005944/0.8884, allocations: 2.84 MB / 0.8799 GB, free: 3.414 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.8885, allocations: 197.2 kB / 0.8801 GB, free: 3.18 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004172/0.8927, allocations: 4.011 MB / 0.884 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001749/0.8929, allocations: 53.7 kB / 0.8841 GB, free: 15.1 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007868/0.8937, allocations: 0.8628 MB / 0.8849 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003738/0.8941, allocations: 465.2 kB / 0.8854 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003466/0.8944, allocations: 218.9 kB / 0.8856 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.8945, allocations: 357.9 kB / 0.8859 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009674/0.8955, allocations: 0.5335 MB / 0.8864 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001208/0.8967, allocations: 0.7617 MB / 0.8872 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002201/0.899, allocations: 1.251 MB / 0.8884 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.899, allocations: 0 / 0.8884 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003665/0.9026, allocations: 1.694 MB / 0.89 GB, free: 8.852 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.893e-05/0.9027, allocations: 11.94 kB / 0.8901 GB, free: 8.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.9027, allocations: 0 / 0.8901 GB, free: 8.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001032/0.9037, allocations: 216.2 kB / 0.8903 GB, free: 8.613 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001372/0.9051, allocations: 303.6 kB / 0.8905 GB, free: 8.316 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006372/0.9115, allocations: 7.318 MB / 0.8977 GB, free: 300 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/0.913, allocations: 150.8 kB / 0.8978 GB, free: 148 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001333/0.9131, allocations: 43.97 kB / 0.8979 GB, free: 104 kB / 0.6544 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.001022/0.9141, allocations: 470.4 kB / 0.8983 GB, free: 15.63 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006186/0.9148, allocations: 185.8 kB / 0.8985 GB, free: 15.45 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004495/0.9193, allocations: 2.039 MB / 0.9005 GB, free: 13.38 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-05/0.9193, allocations: 12 kB / 0.9005 GB, free: 13.36 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/0.9193, allocations: 7.938 kB / 0.9005 GB, free: 13.36 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.728e-05/0.9193, allocations: 7.922 kB / 0.9005 GB, free: 13.35 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007315/0.9267, allocations: 3.92 MB / 0.9044 GB, free: 9.352 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.9267, allocations: 0 / 0.9044 GB, free: 9.352 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001375/0.9281, allocations: 315.5 kB / 0.9047 GB, free: 9.043 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008552/0.9289, allocations: 204.1 kB / 0.9048 GB, free: 8.828 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001215/0.9291, allocations: 39.97 kB / 0.9049 GB, free: 8.789 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005514/0.9346, allocations: 7.343 MB / 0.9121 GB, free: 0.7344 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.9346, allocations: 8.062 kB / 0.9121 GB, free: 0.7266 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003858/0.9385, allocations: 1.903 MB / 0.9139 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001048/0.9395, allocations: 0.4982 MB / 0.9144 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003776/0.9399, allocations: 24 kB / 0.9144 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001319/0.9412, allocations: 97.8 kB / 0.9145 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002155/0.9415, allocations: 101.1 kB / 0.9146 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000174/0.9417, allocations: 71.94 kB / 0.9147 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.003437/0.9451, allocations: 3.087 MB / 0.9177 GB, free: 10.9 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9451, allocations: 3.938 kB / 0.9177 GB, free: 10.89 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001935/0.9471, allocations: 0.6313 MB / 0.9183 GB, free: 10.26 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.005808/0.9529, allocations: 3.095 MB / 0.9213 GB, free: 7.359 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003384/0.9563, allocations: 1.969 MB / 0.9233 GB, free: 5.324 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.9563, allocations: 0.7969 kB / 0.9233 GB, free: 5.324 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001894/0.9582, allocations: 1.375 MB / 0.9246 GB, free: 3.887 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002611/0.9608, allocations: 0.5311 MB / 0.9251 GB, free: 3.383 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03131/0.9921, allocations: 20.39 MB / 0.945 GB, free: 14.75 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001529/0.9937, allocations: 1.502 MB / 0.9465 GB, free: 13.22 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.00191/0.9956, allocations: 0.5166 MB / 0.947 GB, free: 12.7 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001294/0.997, allocations: 0.8468 MB / 0.9478 GB, free: 11.85 MB / 0.7169 GB Notification: Performance of SimCode: time 8.72e-07/0.997, allocations: 0 / 0.9478 GB, free: 11.85 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09883/1.096, allocations: 46.63 MB / 0.9934 GB, free: 13.55 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.7/15.8, allocations: 4 kB / 0.9934 GB, free: 13.55 MB / 0.7637 GB (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)