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.007381/0.007381, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.001901/0.001902, allocations: 193.8 kB / 16.67 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8435/0.8435, allocations: 135.6 MB / 426.1 MB, free: 3.664 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 66.67 kB / 0.5857 GB, free: 21.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1595, allocations: 81.02 MB / 0.6649 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData): time 0.528/0.6876, allocations: 166.9 MB / 0.8279 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02168/0.7093, allocations: 17.1 MB / 0.8446 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001348/0.7107, allocations: 33.84 kB / 0.8446 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001404/0.7121, allocations: 0.5188 MB / 0.8451 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004487/0.7166, allocations: 1.642 MB / 0.8467 GB, free: 296 kB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003422/0.7201, allocations: 1.391 MB / 0.8481 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003798/0.7239, allocations: 2.521 MB / 0.8505 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003054/0.727, allocations: 1.957 MB / 0.8524 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004488/0.7315, allocations: 1.348 MB / 0.8538 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00216/0.7337, allocations: 1.027 MB / 0.8548 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0004073/0.7341, allocations: 208.3 kB / 0.855 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003472/0.7376, allocations: 1.543 MB / 0.8565 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0007643/0.7384, allocations: 0.7697 MB / 0.8572 GB, free: 9.535 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001498/0.7399, allocations: 1.177 MB / 0.8584 GB, free: 8.352 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.005885/0.7458, allocations: 3.554 MB / 0.8618 GB, free: 4.789 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.7458, allocations: 0 / 0.8618 GB, free: 4.789 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7458, allocations: 0 / 0.8618 GB, free: 4.789 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.815e-05/0.7459, allocations: 4 kB / 0.8618 GB, free: 4.785 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.005036/0.7509, allocations: 2.849 MB / 0.8646 GB, free: 1.867 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.751, allocations: 17.11 kB / 0.8646 GB, free: 1.852 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002984/0.7513, allocations: 240.5 kB / 0.8649 GB, free: 1.605 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003668/0.7549, allocations: 0.5798 MB / 0.8654 GB, free: 1.023 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004537/0.7595, allocations: 3.398 MB / 0.8688 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001193/0.7596, allocations: 127.3 kB / 0.8689 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002321/0.7599, allocations: 163.9 kB / 0.869 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003346/0.7632, allocations: 1.876 MB / 0.8709 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.08e-05/0.7633, allocations: 0 / 0.8709 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001612/0.7634, allocations: 68 kB / 0.8709 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.383e-05/0.7635, allocations: 40 kB / 0.871 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003495/0.767, allocations: 2.038 MB / 0.873 GB, free: 9.207 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.009231/0.7762, allocations: 6.047 MB / 0.8789 GB, free: 2.902 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003303/0.7795, allocations: 2 MB / 0.8808 GB, free: 0.8242 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001264/0.7808, allocations: 0.7335 MB / 0.8815 GB, free: 92 kB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000619/0.7814, allocations: 429.7 kB / 0.8819 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001709/0.7832, allocations: 0.9232 MB / 0.8828 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=137): time 2.775e-06/0.7832, allocations: 0 / 0.8828 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of matching and sorting (n=137): time 0.006668/0.7899, allocations: 2.853 MB / 0.8856 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000129/0.79, allocations: 197.2 kB / 0.8858 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004848/0.7949, allocations: 4.011 MB / 0.8897 GB, free: 7.434 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001721/0.795, allocations: 53.7 kB / 0.8898 GB, free: 7.375 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008401/0.7959, allocations: 0.8797 MB / 0.8906 GB, free: 6.484 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000473/0.7964, allocations: 487.8 kB / 0.8911 GB, free: 6.004 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003601/0.7967, allocations: 218.9 kB / 0.8913 GB, free: 5.785 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.7969, allocations: 353.9 kB / 0.8917 GB, free: 5.434 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001042/0.798, allocations: 0.5335 MB / 0.8922 GB, free: 4.898 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001329/0.7993, allocations: 0.7579 MB / 0.8929 GB, free: 4.074 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002271/0.8016, allocations: 1.255 MB / 0.8941 GB, free: 2.812 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.8016, allocations: 4 kB / 0.8941 GB, free: 2.809 MB / 0.6544 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003951/0.8056, allocations: 1.698 MB / 0.8958 GB, free: 1.086 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.798e-05/0.8056, allocations: 11.94 kB / 0.8958 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.8056, allocations: 0 / 0.8958 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001102/0.8067, allocations: 224.1 kB / 0.896 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0014/0.8081, allocations: 303.6 kB / 0.8963 GB, free: 0.543 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006556/0.8147, allocations: 7.32 MB / 0.9035 GB, free: 8.523 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001462/0.8162, allocations: 151.1 kB / 0.9036 GB, free: 8.375 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/0.8163, allocations: 44.03 kB / 0.9037 GB, free: 8.332 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.0009195/0.8172, allocations: 477.4 kB / 0.9041 GB, free: 7.855 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004026/0.8176, allocations: 190.8 kB / 0.9043 GB, free: 7.668 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004431/0.8221, allocations: 2.039 MB / 0.9063 GB, free: 5.598 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.765e-05/0.8221, allocations: 12 kB / 0.9063 GB, free: 5.586 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.8221, allocations: 11.94 kB / 0.9063 GB, free: 5.574 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.581e-05/0.8222, allocations: 7.969 kB / 0.9063 GB, free: 5.566 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006785/0.8289, allocations: 3.909 MB / 0.9101 GB, free: 1.578 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-06/0.829, allocations: 0 / 0.9101 GB, free: 1.578 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001405/0.8304, allocations: 319.5 kB / 0.9104 GB, free: 1.266 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009122/0.8313, allocations: 200.1 kB / 0.9106 GB, free: 1.055 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.503e-05/0.8314, allocations: 39.97 kB / 0.9107 GB, free: 1.016 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006433/0.8379, allocations: 7.352 MB / 0.9178 GB, free: 8.949 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-06/0.8379, allocations: 7.922 kB / 0.9179 GB, free: 8.941 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004431/0.8423, allocations: 1.908 MB / 0.9197 GB, free: 7 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001202/0.8436, allocations: 0.507 MB / 0.9202 GB, free: 6.473 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002258/0.8438, allocations: 24 kB / 0.9202 GB, free: 6.449 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001139/0.8449, allocations: 98.31 kB / 0.9203 GB, free: 6.355 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002607/0.8452, allocations: 97.17 kB / 0.9204 GB, free: 6.262 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001555/0.8454, allocations: 71.94 kB / 0.9205 GB, free: 6.191 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.003568/0.849, allocations: 3.091 MB / 0.9235 GB, free: 3.105 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.164e-06/0.849, allocations: 3.938 kB / 0.9235 GB, free: 3.102 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001836/0.8508, allocations: 0.6352 MB / 0.9241 GB, free: 2.465 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.006416/0.8572, allocations: 3.111 MB / 0.9272 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003436/0.8607, allocations: 1.973 MB / 0.9291 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.8607, allocations: 0.7969 kB / 0.9291 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.002074/0.8628, allocations: 1.379 MB / 0.9304 GB, free: 12.02 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002461/0.8653, allocations: 0.5275 MB / 0.931 GB, free: 11.52 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03099/0.8963, allocations: 20.46 MB / 0.9509 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001233/0.8975, allocations: 1.502 MB / 0.9524 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001713/0.8993, allocations: 0.5088 MB / 0.9529 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001246/0.9005, allocations: 0.8507 MB / 0.9537 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of SimCode: time 1.182e-06/0.9005, allocations: 0 / 0.9537 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1207/1.021, allocations: 46.64 MB / 0.9993 GB, free: 5.629 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.01/16.03, allocations: 19.56 kB / 0.9993 GB, free: 5.609 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)