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.01235/0.01235, allocations: 98.67 kB / 15.73 MB, free: 5.988 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.002401/0.002401, allocations: 196.8 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 2.432/2.432, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.202/1.202, allocations: 132.2 MB / 422.7 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002467/0.002468, allocations: 68.08 kB / 0.5809 GB, free: 8.055 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8175/0.82, allocations: 80.19 MB / 0.6592 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData): time 0.3086/1.129, allocations: 166.9 MB / 0.8222 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.03698/1.166, allocations: 17.1 MB / 0.8389 GB, free: 13.62 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003382/1.169, allocations: 31.81 kB / 0.8389 GB, free: 13.59 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00372/1.173, allocations: 0.5197 MB / 0.8394 GB, free: 13.07 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01094/1.184, allocations: 1.643 MB / 0.841 GB, free: 11.43 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.009421/1.193, allocations: 1.389 MB / 0.8424 GB, free: 10.05 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006762/1.2, allocations: 2.521 MB / 0.8449 GB, free: 7.527 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006203/1.206, allocations: 1.955 MB / 0.8468 GB, free: 5.523 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007449/1.214, allocations: 1.367 MB / 0.8481 GB, free: 4.203 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003281/1.217, allocations: 1.031 MB / 0.8491 GB, free: 3.168 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0014/1.219, allocations: 208 kB / 0.8493 GB, free: 2.965 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006775/1.226, allocations: 1.533 MB / 0.8508 GB, free: 1.43 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.002224/1.228, allocations: 0.7711 MB / 0.8516 GB, free: 0.6562 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.003159/1.231, allocations: 1.181 MB / 0.8527 GB, free: 15.47 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01024/1.241, allocations: 3.528 MB / 0.8562 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 2.329e-05/1.241, allocations: 4 kB / 0.8562 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.917e-06/1.241, allocations: 0 / 0.8562 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001622/1.242, allocations: 0 / 0.8562 GB, free: 11.93 MB / 0.6856 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.00951/1.251, allocations: 2.771 MB / 0.8589 GB, free: 9.09 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 6.007e-05/1.251, allocations: 8.031 kB / 0.8589 GB, free: 9.082 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003811/1.252, allocations: 244.5 kB / 0.8591 GB, free: 8.832 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004182/1.256, allocations: 0.5511 MB / 0.8596 GB, free: 8.277 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006069/1.262, allocations: 3.397 MB / 0.863 GB, free: 4.828 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001593/1.262, allocations: 127.2 kB / 0.8631 GB, free: 4.703 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000528/1.263, allocations: 164 kB / 0.8632 GB, free: 4.543 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005872/1.268, allocations: 1.872 MB / 0.8651 GB, free: 2.617 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.182e-05/1.269, allocations: 7.938 kB / 0.8651 GB, free: 2.609 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003351/1.269, allocations: 72 kB / 0.8651 GB, free: 2.539 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-05/1.269, allocations: 40 kB / 0.8652 GB, free: 2.5 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004945/1.274, allocations: 2.034 MB / 0.8672 GB, free: 472 kB / 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.6612/1.935, allocations: 6.024 MB / 0.8731 GB, free: 191.4 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008517/1.944, allocations: 2.01 MB / 0.875 GB, free: 190.5 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003371/1.947, allocations: 0.7342 MB / 0.8757 GB, free: 190.3 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001112/1.948, allocations: 429 kB / 0.8761 GB, free: 189.9 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003943/1.952, allocations: 0.9284 MB / 0.877 GB, free: 189.5 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=137): time 2.241e-05/1.952, allocations: 3.812 kB / 0.877 GB, free: 189.5 MB / 0.6856 GB Notification: Performance of matching and sorting (n=137): time 0.01423/1.967, allocations: 2.835 MB / 0.8798 GB, free: 188.2 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001386/1.967, allocations: 199 kB / 0.88 GB, free: 187.9 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01132/1.978, allocations: 4.017 MB / 0.8839 GB, free: 186.2 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0007504/1.979, allocations: 55.98 kB / 0.884 GB, free: 186.2 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.00147/1.98, allocations: 0.8661 MB / 0.8848 GB, free: 185.5 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001088/1.982, allocations: 456.3 kB / 0.8853 GB, free: 185.1 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001337/1.983, allocations: 223.4 kB / 0.8855 GB, free: 185 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000201/1.983, allocations: 352.2 kB / 0.8858 GB, free: 184.6 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00234/1.986, allocations: 0.5356 MB / 0.8863 GB, free: 184.4 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002767/1.988, allocations: 0.7604 MB / 0.8871 GB, free: 183.9 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005503/1.994, allocations: 1.261 MB / 0.8883 GB, free: 183.3 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.457e-05/1.994, allocations: 0.9062 kB / 0.8883 GB, free: 183.3 MB / 0.6856 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.008884/2.003, allocations: 1.69 MB / 0.89 GB, free: 182.5 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.464e-05/2.003, allocations: 4.594 kB / 0.89 GB, free: 182.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/2.003, allocations: 5.438 kB / 0.89 GB, free: 182.5 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002042/2.005, allocations: 220.7 kB / 0.8902 GB, free: 182.4 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003097/2.008, allocations: 304.4 kB / 0.8905 GB, free: 182.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008874/2.017, allocations: 7.305 MB / 0.8976 GB, free: 174.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003244/2.02, allocations: 148.9 kB / 0.8977 GB, free: 174.8 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004272/2.021, allocations: 48 kB / 0.8978 GB, free: 174.8 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 (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.002289/2.023, allocations: 474.8 kB / 0.8982 GB, free: 174.4 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001418/2.025, allocations: 190.9 kB / 0.8984 GB, free: 174.3 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009087/2.034, allocations: 2.032 MB / 0.9004 GB, free: 173.3 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.067e-05/2.034, allocations: 15.03 kB / 0.9004 GB, free: 173.3 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.076e-05/2.034, allocations: 5.344 kB / 0.9004 GB, free: 173.3 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.114e-05/2.034, allocations: 9.375 kB / 0.9004 GB, free: 173.2 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01444/2.048, allocations: 3.919 MB / 0.9043 GB, free: 170.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.334e-05/2.048, allocations: 0 / 0.9043 GB, free: 170.9 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002683/2.051, allocations: 305.9 kB / 0.9046 GB, free: 170.8 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001721/2.053, allocations: 208.9 kB / 0.9048 GB, free: 170.7 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002712/2.053, allocations: 38.84 kB / 0.9048 GB, free: 170.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008192/2.061, allocations: 7.339 MB / 0.912 GB, free: 163.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/2.061, allocations: 1.125 kB / 0.912 GB, free: 163.2 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009598/2.071, allocations: 1.903 MB / 0.9138 GB, free: 162.2 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002746/2.074, allocations: 0.4951 MB / 0.9143 GB, free: 161.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001034/2.075, allocations: 27.28 kB / 0.9143 GB, free: 161.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00313/2.078, allocations: 101.1 kB / 0.9144 GB, free: 161.7 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004969/2.079, allocations: 105.5 kB / 0.9145 GB, free: 161.7 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003981/2.079, allocations: 73.08 kB / 0.9146 GB, free: 161.6 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.006827/2.086, allocations: 3.087 MB / 0.9176 GB, free: 160.3 MB / 0.6856 GB Notification: Performance of sort global known variables: time 5.11e-07/2.086, allocations: 0 / 0.9176 GB, free: 160.3 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.004347/2.09, allocations: 0.6376 MB / 0.9182 GB, free: 160.2 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.0111/2.101, allocations: 3.101 MB / 0.9213 GB, free: 158.1 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.005805/2.107, allocations: 1.973 MB / 0.9232 GB, free: 156 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.738e-05/2.107, allocations: 0.5625 kB / 0.9232 GB, free: 156 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003345/2.111, allocations: 1.378 MB / 0.9245 GB, free: 154.6 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005778/2.117, allocations: 0.5228 MB / 0.925 GB, free: 154.1 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05664/2.173, allocations: 20.37 MB / 0.9449 GB, free: 133.5 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002228/2.176, allocations: 1.514 MB / 0.9464 GB, free: 132 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.004103/2.18, allocations: 0.5127 MB / 0.9469 GB, free: 131.5 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002582/2.182, allocations: 0.8468 MB / 0.9477 GB, free: 130.6 MB / 0.6856 GB Notification: Performance of SimCode: time 3.547e-06/2.182, allocations: 4 kB / 0.9478 GB, free: 130.6 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1379/2.32, allocations: 47.5 MB / 0.9941 GB, free: 83.62 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.9/28.22, allocations: 0 / 0.9941 GB, free: 83.62 MB / 0.6856 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)