Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sources.TestSources.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(ModelicaTest.Fluid.TestComponents.Sources.TestSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sources.TestSources") translateModel(ModelicaTest.Fluid.TestComponents.Sources.TestSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sources.TestSources") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001908/0.001908, allocations: 194.5 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.825/1.825, allocations: 205.1 MB / 222.1 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4048/0.4048, allocations: 39.93 MB / 309.4 MB, free: 8.996 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 67.89 kB / 377.1 MB, free: 12.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1349, allocations: 56.88 MB / 434 MB, free: 3.758 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sources.TestSources): time 0.8589/0.9938, allocations: 332.6 MB / 0.7486 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02733/1.021, allocations: 19.89 MB / 0.768 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003347/1.025, allocations: 68.25 kB / 0.7681 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00345/1.028, allocations: 0.9538 MB / 0.769 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.021/1.049, allocations: 6.337 MB / 0.7752 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.02499/1.074, allocations: 8.78 MB / 0.7838 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.007821/1.082, allocations: 5.86 MB / 0.7895 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003456/1.085, allocations: 1.927 MB / 0.7914 GB, free: 5.328 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01752/1.103, allocations: 6.622 MB / 0.7979 GB, free: 14.68 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005171/1.108, allocations: 2.699 MB / 0.8005 GB, free: 11.98 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001634/1.11, allocations: 276 kB / 0.8008 GB, free: 11.71 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03494/1.145, allocations: 17.58 MB / 0.8179 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.002483/1.147, allocations: 1.138 MB / 0.8191 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.003242/1.151, allocations: 1.428 MB / 0.8204 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.03014/1.181, allocations: 12.65 MB / 0.8328 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/1.181, allocations: 0 / 0.8328 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.515e-06/1.181, allocations: 4 kB / 0.8328 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001338/1.181, allocations: 0 / 0.8328 GB, free: 10.84 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 480 * Number of variables: 480 Notification: Performance of Generate backend data structure: time 0.01364/1.195, allocations: 4.783 MB / 0.8375 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.822e-05/1.195, allocations: 15.89 kB / 0.8375 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001486/1.196, allocations: 277.1 kB / 0.8378 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002788/1.199, allocations: 1.364 MB / 0.8391 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001626/1.199, allocations: 147.5 kB / 0.8392 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004879/1.2, allocations: 180 kB / 0.8394 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005991/1.206, allocations: 3.005 MB / 0.8423 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.471e-05/1.206, allocations: 7.938 kB / 0.8423 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002913/1.206, allocations: 79.97 kB / 0.8424 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002218/1.206, allocations: 159.6 kB / 0.8426 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006146/1.212, allocations: 3.289 MB / 0.8458 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02169/1.234, allocations: 11.35 MB / 0.8569 GB, free: 1.328 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1887/1.423, allocations: 2.367 MB / 0.8592 GB, free: 255.8 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001896/1.425, allocations: 1.045 MB / 0.8602 GB, free: 255.8 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003072/1.428, allocations: 4.69 MB / 0.8648 GB, free: 251.1 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.919e-05/1.428, allocations: 57.41 kB / 0.8648 GB, free: 251.1 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001643/1.43, allocations: 276.4 kB / 0.8651 GB, free: 251.1 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=156): time 9.639e-06/1.43, allocations: 0 / 0.8651 GB, free: 251.1 MB / 0.5919 GB Notification: Performance of matching and sorting (n=156): time 0.009132/1.439, allocations: 3.838 MB / 0.8688 GB, free: 250.1 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.653e-05/1.439, allocations: 201.1 kB / 0.869 GB, free: 249.9 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002722/1.442, allocations: 1.906 MB / 0.8709 GB, free: 249.2 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0005971/1.442, allocations: 62.48 kB / 0.871 GB, free: 249.1 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006204/1.443, allocations: 0.9041 MB / 0.8718 GB, free: 248.4 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006688/1.444, allocations: 0.5321 MB / 0.8724 GB, free: 248 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001155/1.445, allocations: 463.2 kB / 0.8728 GB, free: 247.8 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 5.282e-05/1.445, allocations: 310.8 kB / 0.8731 GB, free: 247.5 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001862/1.447, allocations: 1.121 MB / 0.8742 GB, free: 247.1 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002074/1.449, allocations: 1.517 MB / 0.8757 GB, free: 246.3 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003789/1.453, allocations: 2.745 MB / 0.8784 GB, free: 244.9 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.351e-05/1.453, allocations: 3.125 kB / 0.8784 GB, free: 244.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=252) (initialization): time 0.005665/1.458, allocations: 3.435 MB / 0.8817 GB, free: 243.6 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.534e-05/1.459, allocations: 151.6 kB / 0.8819 GB, free: 243.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.419e-05/1.459, allocations: 9.375 kB / 0.8819 GB, free: 243.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00456/1.463, allocations: 0.9259 MB / 0.8828 GB, free: 243.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00229/1.466, allocations: 446.9 kB / 0.8832 GB, free: 243.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001839/1.467, allocations: 1.816 MB / 0.885 GB, free: 242 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002781/1.47, allocations: 134.1 kB / 0.8851 GB, free: 241.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005589/1.471, allocations: 150.6 kB / 0.8852 GB, free: 241.9 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002505/1.473, allocations: 1.484 MB / 0.8867 GB, free: 241.3 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001877/1.475, allocations: 1.494 MB / 0.8881 GB, free: 240.5 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003557/1.479, allocations: 2.678 MB / 0.8908 GB, free: 239 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.045e-05/1.479, allocations: 10.28 kB / 0.8908 GB, free: 239 MB / 0.5919 GB Notification: Performance of matching and sorting (n=252) (initialization_lambda0): time 0.005378/1.484, allocations: 3.247 MB / 0.8939 GB, free: 237.7 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.365e-05/1.484, allocations: 153.5 kB / 0.8941 GB, free: 237.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/1.484, allocations: 10.84 kB / 0.8941 GB, free: 237.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001765/1.486, allocations: 440.8 kB / 0.8945 GB, free: 237.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002146/1.488, allocations: 0.4895 MB / 0.895 GB, free: 237.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001016/1.489, allocations: 1.422 MB / 0.8964 GB, free: 236.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002023/1.491, allocations: 129.1 kB / 0.8965 GB, free: 236.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002733/1.492, allocations: 150 kB / 0.8967 GB, free: 236.2 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 5 (traceSubstance.ind,traceSubstance2.ind,traceSubstance3.ind,traceSubstance4.ind,traceSubstance1.ind) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (233): * Single equations (assignments): 226 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,12), (1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0006063/1.492, allocations: 301.7 kB / 0.8969 GB, free: 235.9 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004776/1.493, allocations: 217.8 kB / 0.8971 GB, free: 235.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006172/1.499, allocations: 3.844 MB / 0.9009 GB, free: 234.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.901e-05/1.499, allocations: 17.52 kB / 0.9009 GB, free: 234.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/1.499, allocations: 5.656 kB / 0.9009 GB, free: 234.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-05/1.499, allocations: 8.016 kB / 0.9009 GB, free: 234.3 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007477/1.506, allocations: 5.018 MB / 0.9058 GB, free: 232.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/1.506, allocations: 3.969 kB / 0.9058 GB, free: 232.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00132/1.508, allocations: 295.2 kB / 0.9061 GB, free: 232.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004005/1.512, allocations: 0.8591 MB / 0.907 GB, free: 232.1 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002224/1.512, allocations: 61.91 kB / 0.907 GB, free: 232.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00154/1.514, allocations: 1.826 MB / 0.9088 GB, free: 230.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/1.514, allocations: 4.25 kB / 0.9088 GB, free: 230.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004772/1.518, allocations: 2.867 MB / 0.9116 GB, free: 229.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005712/1.519, allocations: 315.3 kB / 0.9119 GB, free: 229.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003912/1.519, allocations: 41.2 kB / 0.9119 GB, free: 229.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001666/1.521, allocations: 107.2 kB / 0.912 GB, free: 229.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002889/1.521, allocations: 140.2 kB / 0.9122 GB, free: 229.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002547/1.522, allocations: 131.2 kB / 0.9123 GB, free: 229.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001866/1.523, allocations: 1.432 MB / 0.9137 GB, free: 228.6 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.8e-07/1.523, allocations: 0 / 0.9137 GB, free: 228.6 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.005802/1.529, allocations: 2.715 MB / 0.9164 GB, free: 228.3 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,9), (2,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005766/1.535, allocations: 2.531 MB / 0.9188 GB, free: 228 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01026/1.545, allocations: 5.338 MB / 0.924 GB, free: 226 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.44e-05/1.545, allocations: 5.328 kB / 0.924 GB, free: 226 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002249/1.548, allocations: 1.222 MB / 0.9252 GB, free: 225.6 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00659/1.554, allocations: 1.341 MB / 0.9265 GB, free: 225.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005813/1.56, allocations: 4.887 MB / 0.9313 GB, free: 222.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008208/1.561, allocations: 1.615 MB / 0.9329 GB, free: 221.1 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004001/1.565, allocations: 1.09 MB / 0.934 GB, free: 220.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007367/1.566, allocations: 248.7 kB / 0.9342 GB, free: 220 MB / 0.5919 GB Notification: Performance of SimCode: time 6.11e-07/1.566, allocations: 0 / 0.9342 GB, free: 220 MB / 0.5919 GB Notification: Performance of Templates: time 0.1024/1.668, allocations: 93.55 MB / 1.026 GB, free: 126.9 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sources.TestSources.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sources.TestSources.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sources.TestSources.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sources.TestSources.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sources.TestSources.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sources.TestSources -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sources.TestSources.pipe 2>&1)