Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Credibility_Credibility.Tests.TestRecords.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/Credibility 0.1.0-main/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 Credibility with version 0.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.1.0-main/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(Credibility.Tests.TestRecords,fileNamePrefix="Credibility_Credibility_Tests_TestRecords",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Credibility.Tests.TestRecords,fileNamePrefix="Credibility_Credibility_Tests_TestRecords",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.004417/0.004417, allocations: 171.8 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.1.0-main/package.mo): time 0.006352/0.006352, allocations: 1.285 MB / 17.13 MB, free: 4.828 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.129/1.129, allocations: 223.2 MB / 241.3 MB, free: 14.57 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.0008875/0.0008876, allocations: 100.1 kB / 292.8 MB, free: 4.656 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002628/0.0002628, allocations: 4 kB / 354.1 MB, free: 1.418 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07641/0.07668, allocations: 50.7 MB / 404.8 MB, free: 14.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2147/0.2914, allocations: 77.29 MB / 482 MB, free: 15.38 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001637/0.2916, allocations: 71.44 kB / 482.1 MB, free: 15.34 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.1.0-main/Tests/TestRecords.mo:52:9-52:16:writable] Error: Type mismatch in modifier of component scalar2.calibration, expected type record Credibility.Types.Calibration$scalar2$calibration String unitValue; Real(unit = "kg") start; Real(unit = "kg") lower; Real(unit = "kg") upper; String setup; end Credibility.Types.Calibration$scalar2$calibration;, got modifier =9 of type Integer. Notification: Performance of FrontEnd - DAE generated: time 0.07426/0.3659, allocations: 33.72 MB / 0.5038 GB, free: 14.4 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3659, allocations: 4 kB / 0.5038 GB, free: 14.39 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.077e-05/0.3659, allocations: 8 kB / 0.5038 GB, free: 14.39 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.001167/0.3671, allocations: 0.9249 MB / 0.5047 GB, free: 13.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.3672, allocations: 12.02 kB / 0.5047 GB, free: 13.4 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.22e-05/0.3672, allocations: 105.8 kB / 0.5048 GB, free: 13.29 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001452/0.3674, allocations: 158.2 kB / 0.5049 GB, free: 13.13 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005891/0.368, allocations: 0.4999 MB / 0.5054 GB, free: 12.58 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.901e-05/0.368, allocations: 154.6 kB / 0.5056 GB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.312e-05/0.3681, allocations: 162.5 kB / 0.5057 GB, free: 12.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.679e-05/0.3681, allocations: 106.1 kB / 0.5058 GB, free: 12.16 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/0.3682, allocations: 75.28 kB / 0.5059 GB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.783e-05/0.3682, allocations: 150.6 kB / 0.506 GB, free: 11.94 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-05/0.3683, allocations: 162.5 kB / 0.5062 GB, free: 11.78 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.575e-05/0.3683, allocations: 154.6 kB / 0.5063 GB, free: 11.62 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005313/0.3689, allocations: 0.7018 MB / 0.507 GB, free: 10.88 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.602e-05/0.3689, allocations: 165.1 kB / 0.5072 GB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.369, allocations: 83.27 kB / 0.5073 GB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.153e-05/0.369, allocations: 113.8 kB / 0.5074 GB, free: 10.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.369, allocations: 0 / 0.5074 GB, free: 10.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001353/0.3691, allocations: 104.7 kB / 0.5075 GB, free: 10.39 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/0.3692, allocations: 126.7 kB / 0.5076 GB, free: 10.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009395/0.3701, allocations: 0.7933 MB / 0.5084 GB, free: 9.441 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.926e-06/0.3702, allocations: 25.7 kB / 0.5084 GB, free: 9.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002118/0.3704, allocations: 313.1 kB / 0.5087 GB, free: 9.102 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.482e-06/0.3704, allocations: 0 / 0.5087 GB, free: 9.102 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.21e-07/0.3704, allocations: 0 / 0.5087 GB, free: 9.102 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.594e-05/0.3705, allocations: 306 kB / 0.509 GB, free: 8.797 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.755e-06/0.3705, allocations: 0 / 0.509 GB, free: 8.797 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.705e-06/0.3705, allocations: 0 / 0.509 GB, free: 8.797 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.139e-05/0.3705, allocations: 79.28 kB / 0.5091 GB, free: 8.719 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.662e-05/0.3706, allocations: 83.27 kB / 0.5091 GB, free: 8.637 MB / 378.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001127/0.3707, allocations: 100.8 kB / 0.5092 GB, free: 8.531 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.107e-05/0.3707, allocations: 83.28 kB / 0.5093 GB, free: 8.449 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.598e-05/0.3707, allocations: 75.28 kB / 0.5094 GB, free: 8.375 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.777e-05/0.3708, allocations: 158.4 kB / 0.5095 GB, free: 8.219 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.635e-05/0.3708, allocations: 79.28 kB / 0.5096 GB, free: 8.141 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.863e-05/0.3709, allocations: 150.6 kB / 0.5098 GB, free: 7.992 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001706/0.3711, allocations: 83.22 kB / 0.5098 GB, free: 7.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.3711, allocations: 83.27 kB / 0.5099 GB, free: 7.828 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 () * Number of clocked 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.0002457/0.3713, allocations: 376.4 kB / 0.5103 GB, free: 7.449 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.3715, allocations: 191.8 kB / 0.5105 GB, free: 7.254 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001207/0.3716, allocations: 180 kB / 0.5106 GB, free: 7.07 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.361e-05/0.3716, allocations: 184.2 kB / 0.5108 GB, free: 6.883 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.875e-05/0.3717, allocations: 184.2 kB / 0.511 GB, free: 6.695 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-05/0.3718, allocations: 184.2 kB / 0.5112 GB, free: 6.508 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004321/0.3722, allocations: 0.6425 MB / 0.5118 GB, free: 5.809 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-05/0.3722, allocations: 101 kB / 0.5119 GB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.916e-05/0.3723, allocations: 104.9 kB / 0.512 GB, free: 5.594 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.733e-05/0.3723, allocations: 188.3 kB / 0.5122 GB, free: 5.402 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.866e-05/0.3724, allocations: 184.2 kB / 0.5123 GB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.313e-05/0.3725, allocations: 184.2 kB / 0.5125 GB, free: 5.027 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.486e-05/0.3725, allocations: 180.2 kB / 0.5127 GB, free: 4.844 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001871/0.3727, allocations: 383.1 kB / 0.513 GB, free: 4.441 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002853/0.373, allocations: 301 kB / 0.5133 GB, free: 4.121 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.3731, allocations: 184.2 kB / 0.5135 GB, free: 3.934 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.3733, allocations: 108.9 kB / 0.5136 GB, free: 3.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.071e-05/0.3734, allocations: 184.2 kB / 0.5138 GB, free: 3.633 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.302e-05/0.3734, allocations: 105 kB / 0.5139 GB, free: 3.523 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007481/0.3742, allocations: 0.6454 MB / 0.5145 GB, free: 2.867 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3742, allocations: 4 kB / 0.5145 GB, free: 2.863 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004593/0.3746, allocations: 107.9 kB / 0.5146 GB, free: 2.758 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 () * Number of clocked 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.0009823/0.3756, allocations: 1.319 MB / 0.5159 GB, free: 1.441 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 2.683e-05/0.3757, allocations: 0 / 0.5159 GB, free: 1.441 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3757, allocations: 0 / 0.5159 GB, free: 1.441 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.292e-06/0.3757, allocations: 0 / 0.5159 GB, free: 1.441 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008592/0.3766, allocations: 0.6562 MB / 0.5166 GB, free: 0.7773 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003905/0.3805, allocations: 3.45 MB / 0.5199 GB, free: 13.27 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004855/0.381, allocations: 0.9272 MB / 0.5208 GB, free: 12.31 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002439/0.3812, allocations: 69.55 kB / 0.5209 GB, free: 12.24 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003027/0.3815, allocations: 195.4 kB / 0.5211 GB, free: 12.05 MB / 394.7 MB Notification: Performance of SimCode: time 3.81e-07/0.3815, allocations: 0 / 0.5211 GB, free: 12.05 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02661/0.4082, allocations: 15.93 MB / 0.5366 GB, free: 12.27 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001886/0.4084, allocations: 156.5 kB / 0.5368 GB, free: 12.02 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.114/2.523, allocations: 64 / 0.5368 GB, free: 12.02 MB / 410.7 MB (rm -f Credibility_Credibility.Tests.TestRecords.pipe ; mkfifo Credibility_Credibility.Tests.TestRecords.pipe ; head -c 1048576 < Credibility_Credibility.Tests.TestRecords.pipe >> ../files/Credibility_Credibility.Tests.TestRecords.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Credibility_Credibility_Tests_TestRecords_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Credibility_Credibility_Tests_TestRecords.fmu > Credibility_Credibility.Tests.TestRecords.pipe 2>&1)