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.001734/0.001734, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.1.0-main/package.mo): time 0.02158/0.02158, allocations: 1.251 MB / 14.51 MB, free: 0.793 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.343/1.343, allocations: 221.4 MB / 236.7 MB, free: 12.99 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.001191/0.001191, allocations: 100.7 kB / 287.9 MB, free: 11.62 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.533e-05/3.544e-05, allocations: 4 kB / 346.6 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.2947, allocations: 50.68 MB / 397.3 MB, free: 32.84 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1018/0.3966, allocations: 77.22 MB / 474.5 MB, free: 3.508 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001815/0.3968, allocations: 63.97 kB / 474.6 MB, free: 3.445 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.086/0.4828, allocations: 33.79 MB / 0.4964 GB, free: 1.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.4828, allocations: 0 / 0.4964 GB, free: 1.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.311e-05/0.4829, allocations: 12 kB / 0.4964 GB, free: 1.488 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.0006075/0.4835, allocations: 0.7197 MB / 0.4971 GB, free: 0.7227 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.4835, allocations: 12.03 kB / 0.4972 GB, free: 0.7109 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.889e-05/0.4836, allocations: 109.8 kB / 0.4973 GB, free: 0.5938 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001304/0.4837, allocations: 154.2 kB / 0.4974 GB, free: 452 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2405/0.7243, allocations: 0.4948 MB / 0.4979 GB, free: 96.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.432e-05/0.7244, allocations: 150.6 kB / 0.498 GB, free: 96.03 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.546e-05/0.7244, allocations: 155 kB / 0.4982 GB, free: 95.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.339e-05/0.7245, allocations: 105.8 kB / 0.4983 GB, free: 95.78 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.7245, allocations: 76.69 kB / 0.4984 GB, free: 95.7 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.229e-05/0.7245, allocations: 150.6 kB / 0.4985 GB, free: 95.55 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.959e-05/0.7246, allocations: 156 kB / 0.4987 GB, free: 95.4 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.219e-05/0.7246, allocations: 153.6 kB / 0.4988 GB, free: 95.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009177/0.7255, allocations: 0.7027 MB / 0.4995 GB, free: 94.78 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.434e-05/0.7256, allocations: 170.1 kB / 0.4996 GB, free: 94.61 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.814e-05/0.7256, allocations: 80.64 kB / 0.4997 GB, free: 94.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.7257, allocations: 76.97 kB / 0.4998 GB, free: 94.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.7257, allocations: 113.1 kB / 0.4999 GB, free: 94.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.883e-06/0.7257, allocations: 0 / 0.4999 GB, free: 94.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001697/0.7259, allocations: 107.1 kB / 0.5 GB, free: 94.26 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/0.7259, allocations: 128 kB / 0.5001 GB, free: 94.12 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001218/0.7271, allocations: 0.7878 MB / 0.5009 GB, free: 93.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.847e-06/0.7272, allocations: 29.73 kB / 0.5009 GB, free: 93.95 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002477/0.7274, allocations: 312.6 kB / 0.5012 GB, free: 93.86 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.625e-06/0.7274, allocations: 0 / 0.5012 GB, free: 93.86 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.21e-07/0.7274, allocations: 3.719 kB / 0.5012 GB, free: 93.86 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.358e-05/0.7275, allocations: 307 kB / 0.5015 GB, free: 93.56 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.348e-06/0.7275, allocations: 0 / 0.5015 GB, free: 93.56 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.179e-06/0.7275, allocations: 0 / 0.5015 GB, free: 93.56 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.704e-05/0.7275, allocations: 83.44 kB / 0.5016 GB, free: 93.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.237e-05/0.7276, allocations: 75.28 kB / 0.5017 GB, free: 93.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001179/0.7277, allocations: 92.86 kB / 0.5018 GB, free: 93.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.043e-05/0.7277, allocations: 80.78 kB / 0.5018 GB, free: 93.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/0.7277, allocations: 80.86 kB / 0.5019 GB, free: 93.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.467e-05/0.7278, allocations: 151.8 kB / 0.5021 GB, free: 93.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.508e-05/0.7278, allocations: 81.8 kB / 0.5021 GB, free: 92.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.777e-05/0.7278, allocations: 156.7 kB / 0.5023 GB, free: 92.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/0.7281, allocations: 85.53 kB / 0.5024 GB, free: 92.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.866e-05/0.7281, allocations: 80.55 kB / 0.5024 GB, free: 92.67 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 6.618e-05/0.7282, allocations: 254.8 kB / 0.5027 GB, free: 92.42 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.7283, allocations: 190.6 kB / 0.5029 GB, free: 92.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001346/0.7284, allocations: 183.2 kB / 0.503 GB, free: 92.15 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.81e-05/0.7285, allocations: 183.4 kB / 0.5032 GB, free: 91.97 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.993e-05/0.7285, allocations: 183.9 kB / 0.5034 GB, free: 91.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.244e-05/0.7286, allocations: 178.1 kB / 0.5036 GB, free: 91.61 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005609/0.7291, allocations: 0.6451 MB / 0.5042 GB, free: 91.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-05/0.7292, allocations: 105.9 kB / 0.5043 GB, free: 91.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.863e-05/0.7292, allocations: 104.6 kB / 0.5044 GB, free: 90.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.007e-05/0.7292, allocations: 177.6 kB / 0.5046 GB, free: 90.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.554e-05/0.7293, allocations: 184.7 kB / 0.5047 GB, free: 90.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.87e-05/0.7293, allocations: 181.6 kB / 0.5049 GB, free: 90.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.228e-05/0.7293, allocations: 181.3 kB / 0.5051 GB, free: 90.23 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001638/0.7295, allocations: 387.4 kB / 0.5055 GB, free: 89.88 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000311/0.7298, allocations: 303.6 kB / 0.5057 GB, free: 89.64 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.006e-05/0.7299, allocations: 182.7 kB / 0.5059 GB, free: 89.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001783/0.7301, allocations: 110.3 kB / 0.506 GB, free: 89.35 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.631e-05/0.7302, allocations: 182.3 kB / 0.5062 GB, free: 89.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/0.7302, allocations: 106.9 kB / 0.5063 GB, free: 89.06 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001085/0.7313, allocations: 0.6367 MB / 0.5069 GB, free: 88.95 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.7313, allocations: 1.531 kB / 0.5069 GB, free: 88.95 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006196/0.7319, allocations: 101 kB / 0.507 GB, free: 88.95 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.001167/0.7331, allocations: 1.323 MB / 0.5083 GB, free: 88.03 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 3.514e-05/0.7331, allocations: 1.094 kB / 0.5083 GB, free: 88.03 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.7331, allocations: 0 / 0.5083 GB, free: 88.03 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.017e-06/0.7331, allocations: 1.125 kB / 0.5083 GB, free: 88.03 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009231/0.7341, allocations: 0.665 MB / 0.509 GB, free: 87.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.7353, allocations: 0.8853 MB / 0.5098 GB, free: 87.14 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004126/0.7358, allocations: 0.9338 MB / 0.5107 GB, free: 86.44 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002439/0.736, allocations: 68.42 kB / 0.5108 GB, free: 86.42 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002776/0.7363, allocations: 191.7 kB / 0.511 GB, free: 86.4 MB / 378.7 MB Notification: Performance of SimCode: time 3.91e-07/0.7363, allocations: 0 / 0.511 GB, free: 86.4 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02756/0.7639, allocations: 16.94 MB / 0.5275 GB, free: 78.12 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001529/0.7641, allocations: 136.4 kB / 0.5277 GB, free: 77.9 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.179/3.943, allocations: 0 / 0.5277 GB, free: 77.9 MB / 378.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)