Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.LimPID,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.LimPID,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_LimPID",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001301/0.001301, allocations: 117.6 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00125/0.00125, allocations: 200.7 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.495/1.495, allocations: 227.4 MB / 247 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2528/0.2528, allocations: 46.12 MB / 344.4 MB, free: 11.45 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002332/0.002332, allocations: 83.86 kB / 480.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4549/0.4573, allocations: 62.44 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimPID): time 0.00654/0.4639, allocations: 4.358 MB / 0.5349 GB, free: 9.898 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004311/0.4682, allocations: 1.578 MB / 0.5364 GB, free: 8.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001204/0.4695, allocations: 30.66 kB / 0.5364 GB, free: 8.582 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004937/0.47, allocations: 160 kB / 0.5366 GB, free: 8.434 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005769/0.4706, allocations: 157.5 kB / 0.5367 GB, free: 8.293 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001574/0.4722, allocations: 0.6067 MB / 0.5373 GB, free: 7.809 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001581/0.4738, allocations: 1.019 MB / 0.5383 GB, free: 7.156 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008794/0.4747, allocations: 437.9 kB / 0.5387 GB, free: 6.891 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006469/0.4753, allocations: 366.4 kB / 0.5391 GB, free: 6.641 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005163/0.4759, allocations: 393.1 kB / 0.5395 GB, free: 6.328 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001669/0.476, allocations: 85.81 kB / 0.5395 GB, free: 6.328 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000146/0.4762, allocations: 86.5 kB / 0.5396 GB, free: 6.328 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00022/0.4764, allocations: 192.1 kB / 0.5398 GB, free: 6.164 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004917/0.4769, allocations: 439.8 kB / 0.5402 GB, free: 5.809 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001627/0.4786, allocations: 1.032 MB / 0.5412 GB, free: 4.996 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.4786, allocations: 1.094 kB / 0.5412 GB, free: 4.996 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.876e-06/0.4786, allocations: 0 / 0.5412 GB, free: 4.996 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.478e-05/0.4786, allocations: 0 / 0.5412 GB, free: 4.996 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.002763/0.4814, allocations: 1.332 MB / 0.5425 GB, free: 3.941 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.284e-05/0.4815, allocations: 10.16 kB / 0.5425 GB, free: 3.941 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001605/0.4816, allocations: 107 kB / 0.5426 GB, free: 3.848 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002672/0.4819, allocations: 120 kB / 0.5428 GB, free: 3.785 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001421/0.4833, allocations: 0.6622 MB / 0.5434 GB, free: 3.227 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.594e-05/0.4834, allocations: 48.03 kB / 0.5435 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/0.4836, allocations: 66.34 kB / 0.5435 GB, free: 3.184 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001826/0.4854, allocations: 0.7681 MB / 0.5443 GB, free: 2.633 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.665e-05/0.4854, allocations: 5.031 kB / 0.5443 GB, free: 2.629 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.205e-05/0.4855, allocations: 26.75 kB / 0.5443 GB, free: 2.609 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-05/0.4856, allocations: 16.31 kB / 0.5443 GB, free: 2.609 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00157/0.4871, allocations: 0.5455 MB / 0.5448 GB, free: 2.348 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004757/0.4919, allocations: 2.717 MB / 0.5475 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001708/0.4937, allocations: 0.6667 MB / 0.5481 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006427/0.4943, allocations: 283.3 kB / 0.5484 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.761e-05/0.4944, allocations: 11.94 kB / 0.5484 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.519e-05/0.4944, allocations: 42.56 kB / 0.5485 GB, free: 15.03 MB / 414.1 MB Notification: Performance of pre-optimization done (n=52): time 2.895e-06/0.4945, allocations: 4 kB / 0.5485 GB, free: 15.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=52): time 0.002138/0.4966, allocations: 0.7966 MB / 0.5493 GB, free: 14.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003289/0.4969, allocations: 342.1 kB / 0.5496 GB, free: 13.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/0.4981, allocations: 0.6968 MB / 0.5503 GB, free: 13.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.756e-05/0.4981, allocations: 37.7 kB / 0.5503 GB, free: 13.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005421/0.4987, allocations: 440.9 kB / 0.5507 GB, free: 12.63 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002732/0.499, allocations: 202.2 kB / 0.5509 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002108/0.4992, allocations: 110.2 kB / 0.551 GB, free: 12.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002161/0.4994, allocations: 333.9 kB / 0.5513 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005684/0.5, allocations: 227 kB / 0.5515 GB, free: 11.76 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000741/0.5007, allocations: 391.5 kB / 0.5519 GB, free: 11.31 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001235/0.502, allocations: 0.5545 MB / 0.5525 GB, free: 10.72 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.502, allocations: 3.938 kB / 0.5525 GB, free: 10.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00288/0.5049, allocations: 1.049 MB / 0.5535 GB, free: 9.652 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.5049, allocations: 4 kB / 0.5535 GB, free: 9.648 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.505, allocations: 4 kB / 0.5535 GB, free: 9.645 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00131/0.5063, allocations: 323.4 kB / 0.5538 GB, free: 9.316 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005765/0.5069, allocations: 123.9 kB / 0.5539 GB, free: 9.195 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01087/0.5177, allocations: 7.273 MB / 0.561 GB, free: 1.359 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008097/0.5186, allocations: 83.64 kB / 0.5611 GB, free: 1.277 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.604e-05/0.5186, allocations: 20 kB / 0.5611 GB, free: 1.258 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007814/0.5194, allocations: 345.1 kB / 0.5615 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005785/0.52, allocations: 355.5 kB / 0.5618 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009476/0.521, allocations: 0.5009 MB / 0.5623 GB, free: 15.97 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.829e-06/0.521, allocations: 4.156 kB / 0.5623 GB, free: 15.97 MB / 430.1 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001736/0.5227, allocations: 0.7473 MB / 0.563 GB, free: 15.21 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.5228, allocations: 8 kB / 0.563 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.5228, allocations: 4 kB / 0.563 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005476/0.5233, allocations: 149.8 kB / 0.5632 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007338/0.5241, allocations: 171.8 kB / 0.5633 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004326/0.5284, allocations: 3.431 MB / 0.5667 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006786/0.5291, allocations: 71.73 kB / 0.5668 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.982e-05/0.5292, allocations: 20 kB / 0.5668 GB, free: 11.09 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 4 (PID4.I.local_reset,PID3.I.local_reset,PID2.I.local_reset,PID1.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003351/0.5295, allocations: 220.1 kB / 0.567 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002334/0.5297, allocations: 99.33 kB / 0.5671 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002584/0.53, allocations: 95.16 kB / 0.5672 GB, free: 10.66 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.53, allocations: 8 kB / 0.5672 GB, free: 10.66 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.53, allocations: 4 kB / 0.5672 GB, free: 10.65 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/0.5301, allocations: 3.984 kB / 0.5672 GB, free: 10.65 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001266/0.5313, allocations: 0.7312 MB / 0.5679 GB, free: 9.867 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.5313, allocations: 4 kB / 0.5679 GB, free: 9.863 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005696/0.5319, allocations: 103.9 kB / 0.568 GB, free: 9.762 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.264e-06/0.5319, allocations: 11.88 kB / 0.568 GB, free: 9.75 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.1e-05/0.532, allocations: 15.98 kB / 0.568 GB, free: 9.734 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.738e-06/0.532, allocations: 3.938 kB / 0.568 GB, free: 9.73 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.532, allocations: 4 kB / 0.568 GB, free: 9.727 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002252/0.5343, allocations: 1.202 MB / 0.5692 GB, free: 8.512 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002921/0.5346, allocations: 220.2 kB / 0.5694 GB, free: 8.277 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.556e-05/0.5347, allocations: 15.98 kB / 0.5694 GB, free: 8.262 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004948/0.5352, allocations: 43.97 kB / 0.5695 GB, free: 8.219 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.973e-05/0.5353, allocations: 35.89 kB / 0.5695 GB, free: 8.184 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.687e-05/0.5353, allocations: 20 kB / 0.5695 GB, free: 8.164 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007202/0.536, allocations: 487 kB / 0.57 GB, free: 7.695 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.5361, allocations: 0 / 0.57 GB, free: 7.695 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001052/0.5371, allocations: 279.4 kB / 0.5703 GB, free: 7.422 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (PID1.I.y,firstOrder1.y,PID2.I.y,firstOrder2.y,PID3.I.y,firstOrder3.y,PID4.I.y,firstOrder4.y) * 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 (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002644/0.5398, allocations: 1.766 MB / 0.572 GB, free: 5.621 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004675/0.5445, allocations: 1.885 MB / 0.5738 GB, free: 3.664 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.5445, allocations: 0 / 0.5738 GB, free: 3.664 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006337/0.5451, allocations: 287.4 kB / 0.5741 GB, free: 3.387 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001473/0.5466, allocations: 228.6 kB / 0.5743 GB, free: 3.176 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01398/0.5606, allocations: 7.233 MB / 0.5814 GB, free: 11.69 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009694/0.5616, allocations: 0.977 MB / 0.5823 GB, free: 10.68 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005689/0.5622, allocations: 93.09 kB / 0.5824 GB, free: 10.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000511/0.5627, allocations: 323.3 kB / 0.5827 GB, free: 10.28 MB / 446.1 MB Notification: Performance of SimCode: time 1.683e-06/0.5627, allocations: 3.938 kB / 0.5827 GB, free: 10.27 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08943/0.6522, allocations: 20.31 MB / 0.6026 GB, free: 6.102 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.17/14.82, allocations: 10.59 kB / 0.6026 GB, free: 6.094 MB / 462.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.LimPID.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.LimPID.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.LimPID.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.LimPID_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_LimPID_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_LimPID.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.LimPID.pipe 2>&1)