Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.conf.json 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/HanserModelica 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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) Running command: "" <> buildModelFMU(HanserModelica.Machines.TestSingleLayer12over12,fileNamePrefix="HanserModelica_HanserModelica_Machines_TestSingleLayer12over12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Machines.TestSingleLayer12over12,fileNamePrefix="HanserModelica_HanserModelica_Machines_TestSingleLayer12over12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04093/0.04093, allocations: 8.702 MB / 21.96 MB, free: 3.367 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.556/1.556, allocations: 221.4 MB / 246 MB, free: 3.551 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008738/0.0008738, allocations: 84.44 kB / 299.1 MB, free: 3.004 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.811e-05/3.83e-05, allocations: 3.984 kB / 359.6 MB, free: 6.434 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2838, allocations: 52.54 MB / 412.1 MB, free: 22.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1106/0.3944, allocations: 80.34 MB / 492.5 MB, free: 6 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/0.3947, allocations: 63.97 kB / 492.6 MB, free: 5.938 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02499/0.4197, allocations: 9.795 MB / 0.4906 GB, free: 12.11 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4198, allocations: 4 kB / 0.4906 GB, free: 12.11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.4198, allocations: 0 / 0.4906 GB, free: 12.11 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004287/0.4202, allocations: 406.1 kB / 0.491 GB, free: 11.67 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.4203, allocations: 12.03 kB / 0.491 GB, free: 11.66 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.693e-05/0.4204, allocations: 105.8 kB / 0.4911 GB, free: 11.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003018/0.4207, allocations: 115.1 kB / 0.4912 GB, free: 11.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00193/0.4226, allocations: 0.7678 MB / 0.4919 GB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.517e-05/0.4227, allocations: 154.6 kB / 0.4921 GB, free: 10.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.819e-05/0.4228, allocations: 150.6 kB / 0.4922 GB, free: 10.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.557e-05/0.4228, allocations: 105 kB / 0.4923 GB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.627e-05/0.4229, allocations: 75.28 kB / 0.4924 GB, free: 10.13 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.313e-05/0.4229, allocations: 150.6 kB / 0.4925 GB, free: 9.984 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.799e-05/0.423, allocations: 158.5 kB / 0.4927 GB, free: 9.828 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.551e-05/0.4231, allocations: 154.6 kB / 0.4928 GB, free: 9.676 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003155/0.4234, allocations: 465.9 kB / 0.4933 GB, free: 9.172 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.215e-05/0.4235, allocations: 169.1 kB / 0.4934 GB, free: 8.996 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.021e-05/0.4235, allocations: 80.14 kB / 0.4935 GB, free: 8.914 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.128e-05/0.4236, allocations: 75.28 kB / 0.4936 GB, free: 8.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.786e-05/0.4236, allocations: 113.8 kB / 0.4937 GB, free: 8.719 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.603e-06/0.4236, allocations: 4 kB / 0.4937 GB, free: 8.715 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 8.346e-05/0.4237, allocations: 33.61 kB / 0.4937 GB, free: 8.676 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.902e-05/0.4238, allocations: 130.6 kB / 0.4939 GB, free: 8.535 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.424, allocations: 155.6 kB / 0.494 GB, free: 8.375 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.424, allocations: 25.7 kB / 0.494 GB, free: 8.344 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.693e-05/0.424, allocations: 100.1 kB / 0.4941 GB, free: 8.242 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.883e-06/0.4241, allocations: 0 / 0.4941 GB, free: 8.242 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.11e-07/0.4241, allocations: 0 / 0.4941 GB, free: 8.242 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.4242, allocations: 322.8 kB / 0.4944 GB, free: 7.918 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.867e-06/0.4242, allocations: 4 kB / 0.4944 GB, free: 7.914 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.628e-06/0.4242, allocations: 0 / 0.4944 GB, free: 7.914 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.564e-05/0.4242, allocations: 79.22 kB / 0.4945 GB, free: 7.836 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.48e-05/0.4243, allocations: 75.28 kB / 0.4946 GB, free: 7.762 MB / 378.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.021e-05/0.4243, allocations: 33.61 kB / 0.4946 GB, free: 7.723 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.156e-05/0.4244, allocations: 88.94 kB / 0.4947 GB, free: 7.637 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.425e-05/0.4244, allocations: 83.27 kB / 0.4948 GB, free: 7.555 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.2e-05/0.4245, allocations: 158.5 kB / 0.4949 GB, free: 7.398 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.545e-05/0.4245, allocations: 75.52 kB / 0.495 GB, free: 7.324 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-05/0.4246, allocations: 158.5 kB / 0.4952 GB, free: 7.168 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.409e-05/0.4247, allocations: 79.28 kB / 0.4952 GB, free: 7.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.526e-05/0.4247, allocations: 79.23 kB / 0.4953 GB, free: 7.012 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000114/0.4249, allocations: 258.5 kB / 0.4956 GB, free: 6.754 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.002e-05/0.4249, allocations: 120.8 kB / 0.4957 GB, free: 6.629 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.496e-05/0.425, allocations: 109.5 kB / 0.4958 GB, free: 6.512 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.067e-05/0.4251, allocations: 184.2 kB / 0.496 GB, free: 6.324 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.671e-05/0.4251, allocations: 176.3 kB / 0.4961 GB, free: 6.145 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.085e-05/0.4252, allocations: 188.2 kB / 0.4963 GB, free: 5.953 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002579/0.4255, allocations: 429.1 kB / 0.4967 GB, free: 5.477 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.011e-05/0.4255, allocations: 105 kB / 0.4968 GB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.141e-05/0.4256, allocations: 108.9 kB / 0.4969 GB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.905e-05/0.4257, allocations: 176.3 kB / 0.4971 GB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-05/0.4257, allocations: 176.3 kB / 0.4973 GB, free: 4.895 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.235e-05/0.4258, allocations: 185.1 kB / 0.4974 GB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-05/0.4259, allocations: 184.3 kB / 0.4976 GB, free: 4.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001509/0.426, allocations: 319.6 kB / 0.4979 GB, free: 4.184 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.655e-05/0.4261, allocations: 189.9 kB / 0.4981 GB, free: 3.973 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.577e-05/0.4262, allocations: 184.2 kB / 0.4983 GB, free: 3.785 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.208e-05/0.4263, allocations: 105 kB / 0.4984 GB, free: 3.676 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.793e-05/0.4264, allocations: 184.7 kB / 0.4985 GB, free: 3.488 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-05/0.4264, allocations: 101 kB / 0.4986 GB, free: 3.383 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001052/0.4266, allocations: 127.9 kB / 0.4988 GB, free: 3.258 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4266, allocations: 0 / 0.4988 GB, free: 3.258 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002798/0.4268, allocations: 8 kB / 0.4988 GB, free: 3.25 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004933/0.4273, allocations: 0.832 MB / 0.4996 GB, free: 2.391 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 3.167e-05/0.4274, allocations: 7.938 kB / 0.4996 GB, free: 2.383 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.4274, allocations: 0 / 0.4996 GB, free: 2.383 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.218e-06/0.4274, allocations: 4 kB / 0.4996 GB, free: 2.379 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004218/0.4278, allocations: 0.5299 MB / 0.5001 GB, free: 1.848 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004889/0.4283, allocations: 233.7 kB / 0.5003 GB, free: 1.582 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/0.4287, allocations: 0.6965 MB / 0.501 GB, free: 0.8594 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.355e-05/0.4288, allocations: 4.188 kB / 0.501 GB, free: 0.8555 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.008e-05/0.4288, allocations: 27.42 kB / 0.501 GB, free: 0.8281 MB / 378.7 MB Notification: Performance of SimCode: time 6.31e-07/0.4289, allocations: 0 / 0.501 GB, free: 0.8281 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2585/0.6874, allocations: 1.973 MB / 0.503 GB, free: 93.74 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000136/0.6875, allocations: 146.7 kB / 0.5031 GB, free: 93.52 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.599/2.287, allocations: 0 / 0.5031 GB, free: 93.52 MB / 378.7 MB (rm -f HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe ; mkfifo HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe >> ../files/HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Machines_TestSingleLayer12over12_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Machines_TestSingleLayer12over12.fmu > HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe 2>&1)