Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sources.TestSources,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sources_TestSources",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sources.TestSources,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sources_TestSources",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.001123/0.001123, allocations: 96.28 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 177.2 kB / 16.57 MB, free: 6.852 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.686/1.686, allocations: 205.4 MB / 222.7 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3739/0.3739, allocations: 43.54 MB / 314.5 MB, free: 8.777 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: Performance of FrontEnd - loaded program: time 0.0005447/0.0005449, allocations: 12 kB / 384 MB, free: 7.945 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.133, allocations: 58.86 MB / 442.9 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sources.TestSources): time 0.793/0.926, allocations: 243.1 MB / 0.6699 GB, free: 3.363 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.03316/0.9592, allocations: 23.68 MB / 0.693 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003117/0.9624, allocations: 62.59 kB / 0.6931 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00316/0.9656, allocations: 0.8275 MB / 0.6939 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0182/0.9838, allocations: 5.217 MB / 0.699 GB, free: 2.711 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02211/1.006, allocations: 6.553 MB / 0.7054 GB, free: 1.18 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.006507/1.012, allocations: 3.129 MB / 0.7084 GB, free: 0.707 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002701/1.015, allocations: 1.573 MB / 0.71 GB, free: 16.11 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01105/1.026, allocations: 4.79 MB / 0.7147 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004165/1.03, allocations: 1.821 MB / 0.7164 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006195/1.031, allocations: 130.7 kB / 0.7166 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03046/1.062, allocations: 14.49 MB / 0.7307 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.002991/1.065, allocations: 0.9213 MB / 0.7316 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002546/1.067, allocations: 0.4936 MB / 0.7321 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02276/1.09, allocations: 7.579 MB / 0.7395 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/1.09, allocations: 4 kB / 0.7395 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.387e-06/1.09, allocations: 0 / 0.7395 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001072/1.09, allocations: 0 / 0.7395 GB, free: 15.72 MB / 0.5137 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.01094/1.101, allocations: 4.133 MB / 0.7435 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/1.101, allocations: 11.97 kB / 0.7435 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006815/1.102, allocations: 275.7 kB / 0.7438 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001087/1.103, allocations: 285 kB / 0.7441 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002883/1.106, allocations: 1.303 MB / 0.7453 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001551/1.106, allocations: 140.9 kB / 0.7455 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000376/1.106, allocations: 178.3 kB / 0.7457 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005532/1.112, allocations: 2.996 MB / 0.7486 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.655e-05/1.112, allocations: 2.531 kB / 0.7486 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002258/1.112, allocations: 81.23 kB / 0.7487 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001975/1.112, allocations: 167.2 kB / 0.7488 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004872/1.117, allocations: 3.297 MB / 0.752 GB, free: 5.535 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02082/1.138, allocations: 11.48 MB / 0.7632 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004905/1.143, allocations: 2.407 MB / 0.7656 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003674/1.147, allocations: 3.394 MB / 0.7689 GB, free: 6.395 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001161/1.147, allocations: 60.66 kB / 0.769 GB, free: 6.344 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002534/1.15, allocations: 261 kB / 0.7692 GB, free: 6.121 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=156): time 9.538e-06/1.15, allocations: 0 / 0.7692 GB, free: 6.121 MB / 0.5294 GB Notification: Performance of matching and sorting (n=156): time 0.007963/1.158, allocations: 3.625 MB / 0.7728 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.885e-05/1.158, allocations: 201.2 kB / 0.7729 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002639/1.16, allocations: 1.892 MB / 0.7748 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003275/1.161, allocations: 65.02 kB / 0.7749 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006089/1.161, allocations: 0.9055 MB / 0.7757 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004747/1.162, allocations: 0.5338 MB / 0.7763 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/1.162, allocations: 43.75 kB / 0.7763 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001543/1.162, allocations: 384.5 kB / 0.7767 GB, free: 352 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00179/1.164, allocations: 1.086 MB / 0.7777 GB, free: 15.62 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001981/1.166, allocations: 1.509 MB / 0.7792 GB, free: 14.36 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002094/1.168, allocations: 1.423 MB / 0.7806 GB, free: 13.4 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-05/1.168, allocations: 4 kB / 0.7806 GB, free: 13.39 MB / 0.545 GB Notification: Performance of matching and sorting (n=252) (initialization): time 0.005667/1.174, allocations: 3.357 MB / 0.7839 GB, free: 10.98 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.001818/1.176, allocations: 4.475 MB / 0.7882 GB, free: 6.203 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.369e-05/1.176, allocations: 12 kB / 0.7883 GB, free: 6.191 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003954/1.18, allocations: 0.7471 MB / 0.789 GB, free: 5.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002351/1.182, allocations: 465 kB / 0.7894 GB, free: 5.109 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001764/1.184, allocations: 1.644 MB / 0.791 GB, free: 3.633 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002579/1.186, allocations: 135.1 kB / 0.7912 GB, free: 3.531 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005366/1.187, allocations: 152.2 kB / 0.7913 GB, free: 3.402 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/1.187, allocations: 11.92 kB / 0.7913 GB, free: 3.391 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005433/1.192, allocations: 3.027 MB / 0.7943 GB, free: 1.297 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.058e-05/1.192, allocations: 12 kB / 0.7943 GB, free: 1.285 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001452/1.194, allocations: 355.1 kB / 0.7946 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002277/1.196, allocations: 0.4942 MB / 0.7951 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001086/1.197, allocations: 1.334 MB / 0.7964 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002133/1.199, allocations: 132.6 kB / 0.7965 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002718/1.2, allocations: 148.7 kB / 0.7967 GB, free: 15.01 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (239): * Single equations (assignments): 232 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.001237/1.201, allocations: 0.6077 MB / 0.7973 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004194/1.201, allocations: 225.3 kB / 0.7975 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006698/1.208, allocations: 3.799 MB / 0.8012 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.772e-05/1.208, allocations: 16 kB / 0.8012 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.849e-06/1.208, allocations: 1.859 kB / 0.8012 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-05/1.208, allocations: 7.969 kB / 0.8012 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01131/1.219, allocations: 5.577 MB / 0.8067 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/1.22, allocations: 8.031 kB / 0.8067 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001312/1.221, allocations: 318.2 kB / 0.807 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003233/1.224, allocations: 0.6861 MB / 0.8077 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002004/1.224, allocations: 57.84 kB / 0.8077 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001385/1.226, allocations: 1.644 MB / 0.8093 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/1.226, allocations: 8.125 kB / 0.8093 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004689/1.23, allocations: 3.24 MB / 0.8125 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008529/1.231, allocations: 362.4 kB / 0.8128 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003613/1.232, allocations: 43.8 kB / 0.8129 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001673/1.233, allocations: 119.2 kB / 0.813 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00026/1.234, allocations: 133.9 kB / 0.8131 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002561/1.234, allocations: 137 kB / 0.8132 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001926/1.236, allocations: 1.388 MB / 0.8146 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.6e-07/1.236, allocations: 0 / 0.8146 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007275/1.243, allocations: 2.713 MB / 0.8172 GB, free: 14.3 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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 (165): * Single equations (assignments): 162 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0116/1.255, allocations: 7.482 MB / 0.8246 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007945/1.263, allocations: 4.608 MB / 0.8291 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.348e-05/1.263, allocations: 1.328 kB / 0.8291 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002182/1.265, allocations: 1.216 MB / 0.8302 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005863/1.271, allocations: 1.215 MB / 0.8314 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01327/1.284, allocations: 14.27 MB / 0.8454 GB, free: 2.344 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001131/1.285, allocations: 1.662 MB / 0.847 GB, free: 0.6484 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004225/1.29, allocations: 1.114 MB / 0.8481 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001367/1.291, allocations: 0.8936 MB / 0.8489 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of SimCode: time 8.91e-07/1.291, allocations: 0 / 0.8489 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3665/1.657, allocations: 105.7 MB / 0.9522 GB, free: 209.1 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001588/1.658, allocations: 266.1 kB / 0.9525 GB, free: 208.7 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.494/7.151, allocations: 4 kB / 0.9525 GB, free: 208.7 MB / 0.6075 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sources.TestSources.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sources.TestSources.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sources.TestSources.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sources.TestSources.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sources.TestSources_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sources_TestSources_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sources_TestSources.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sources.TestSources.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sources.TestSources_res.mat does not exist to compare? outputFormat=mat