Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 115.7 kB / 18.49 MB, free: 4.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 194.5 kB / 21.43 MB, free: 1.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 225.6 MB / 249.8 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] 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 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(Modelica.Electrical.Analog.Examples.AD_DA_conversion,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_AD_DA_conversion",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AD_DA_conversion,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_AD_DA_conversion",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 47.92 kB / 366.3 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1109, allocations: 52.14 MB / 418.5 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.003704/0.1146, allocations: 2.376 MB / 420.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.1158, allocations: 0.6816 MB / 421.5 MB, free: 9.621 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.487e-05/0.1159, allocations: 0 / 421.5 MB, free: 9.621 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001495/0.1161, allocations: 31.66 kB / 421.6 MB, free: 9.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.1162, allocations: 55.5 kB / 421.6 MB, free: 9.535 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003072/0.1165, allocations: 87.75 kB / 421.7 MB, free: 9.449 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003303/0.1168, allocations: 259.1 kB / 422 MB, free: 9.195 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002123/0.117, allocations: 90.98 kB / 422.1 MB, free: 9.105 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001996/0.1172, allocations: 119.6 kB / 422.2 MB, free: 8.988 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00017/0.1174, allocations: 111.6 kB / 422.3 MB, free: 8.879 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.293e-05/0.1174, allocations: 20 kB / 422.3 MB, free: 8.859 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.236e-05/0.1175, allocations: 27.94 kB / 422.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.317e-05/0.1175, allocations: 59.81 kB / 422.4 MB, free: 8.773 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001466/0.1177, allocations: 119.5 kB / 422.5 MB, free: 8.656 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003521/0.118, allocations: 286.7 kB / 422.8 MB, free: 8.375 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.118, allocations: 0 / 422.8 MB, free: 8.375 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.118, allocations: 0 / 422.8 MB, free: 8.375 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.118, allocations: 0 / 422.8 MB, free: 8.375 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001099/0.1191, allocations: 0.6754 MB / 423.5 MB, free: 7.633 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.1192, allocations: 12.03 kB / 423.5 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.904e-05/0.1192, allocations: 4.188 kB / 423.5 MB, free: 7.617 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.853e-05/0.1193, allocations: 54.73 kB / 423.5 MB, free: 7.555 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.513e-05/0.1193, allocations: 24.8 kB / 423.6 MB, free: 7.531 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003535/0.1197, allocations: 245.3 kB / 423.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.072e-05/0.1198, allocations: 50.27 kB / 423.8 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.737e-05/0.1198, allocations: 20.12 kB / 423.9 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005817/0.1204, allocations: 260.1 kB / 424.1 MB, free: 6.914 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.1204, allocations: 0 / 424.1 MB, free: 6.914 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.82e-05/0.1204, allocations: 8 kB / 424.1 MB, free: 6.906 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.1204, allocations: 4 kB / 424.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005006/0.1209, allocations: 196.3 kB / 424.3 MB, free: 6.711 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001371/0.1223, allocations: 0.7718 MB / 425.1 MB, free: 5.875 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006141/0.1229, allocations: 259.2 kB / 425.3 MB, free: 5.613 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004302/0.1234, allocations: 189 kB / 425.5 MB, free: 5.426 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.1234, allocations: 4 kB / 425.5 MB, free: 5.422 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005402/0.1239, allocations: 308.9 kB / 425.8 MB, free: 5.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.523e-06/0.1239, allocations: 4 kB / 425.8 MB, free: 5.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001235/0.1252, allocations: 0.5749 MB / 426.4 MB, free: 4.492 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001424/0.1253, allocations: 211.9 kB / 426.6 MB, free: 4.242 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.1255, allocations: 179.1 kB / 426.8 MB, free: 4.059 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.926e-05/0.1255, allocations: 41.64 kB / 426.8 MB, free: 4.012 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.1256, allocations: 132.9 kB / 427 MB, free: 3.875 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.004e-05/0.1257, allocations: 75.39 kB / 427 MB, free: 3.801 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.1258, allocations: 74.02 kB / 427.1 MB, free: 3.719 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.126, allocations: 334.8 kB / 427.4 MB, free: 3.383 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002401/0.1262, allocations: 108.6 kB / 427.5 MB, free: 3.273 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002967/0.1265, allocations: 179.2 kB / 427.7 MB, free: 3.078 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005908/0.1271, allocations: 419.4 kB / 428.1 MB, free: 2.621 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.1271, allocations: 0 / 428.1 MB, free: 2.621 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007275/0.1278, allocations: 447.7 kB / 428.6 MB, free: 2.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.802e-05/0.1279, allocations: 93.22 kB / 428.7 MB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.1279, allocations: 4 kB / 428.7 MB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.1279, allocations: 8.031 kB / 428.7 MB, free: 2.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001974/0.1281, allocations: 47.91 kB / 428.7 MB, free: 1.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.1281, allocations: 4 kB / 428.7 MB, free: 1.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000177/0.1283, allocations: 31.88 kB / 428.8 MB, free: 1.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.282e-05/0.1283, allocations: 12 kB / 428.8 MB, free: 1.945 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 36 (dA_Converter.y,$PRE.dA_Converter.y,aD_Converter.z,$PRE.aD_Converter.z,dA_Converter.x[7],dA_Converter.x[6],dA_Converter.x[5],dA_Converter.x[4],dA_Converter.x[3],dA_Converter.x[2],dA_Converter.x[1],aD_Converter.y[7],$PRE.aD_Converter.y[7],aD_Converter.y[6],$PRE.aD_Converter.y[6],aD_Converter.y[5],$PRE.aD_Converter.y[5],aD_Converter.y[4],$PRE.aD_Converter.y[4],aD_Converter.y[3],$PRE.aD_Converter.y[3],aD_Converter.y[2],$PRE.aD_Converter.y[2],aD_Converter.y[1],$PRE.aD_Converter.y[1],dA_Converter.trig,pulse.sampling,pulse.np,$PRE.pulse.np,pulse.T0,$PRE.pulse.T0,$whenCondition2,$whenCondition1,$whenCondition3,dA_Converter.vout,$PRE.dA_Converter.vout) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 3 * 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 prepare postOptimizeDAE: time 0.0002442/0.1286, allocations: 241.5 kB / 429 MB, free: 1.688 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.992e-05/0.1286, allocations: 31.8 kB / 429 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.08e-05/0.1287, allocations: 22.66 kB / 429.1 MB, free: 1.637 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.1287, allocations: 0 / 429.1 MB, free: 1.637 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1287, allocations: 0 / 429.1 MB, free: 1.637 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.1287, allocations: 3.984 kB / 429.1 MB, free: 1.633 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001463/0.1302, allocations: 0.9473 MB / 430 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1302, allocations: 0 / 430 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.1303, allocations: 19.98 kB / 430 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1303, allocations: 0 / 430 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.645e-05/0.1303, allocations: 8 kB / 430 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.177e-06/0.1303, allocations: 4 kB / 430 MB, free: 0.582 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1303, allocations: 4.031 kB / 430 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.1313, allocations: 0.6165 MB / 430.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.28e-05/0.1314, allocations: 104.9 kB / 430.8 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.748e-05/0.1315, allocations: 15.98 kB / 430.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/0.1317, allocations: 23.98 kB / 430.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.787e-05/0.1317, allocations: 27.89 kB / 430.8 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.871e-05/0.1318, allocations: 15.94 kB / 430.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001195/0.1319, allocations: 131.2 kB / 431 MB, free: 15.6 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1319, allocations: 0 / 431 MB, free: 15.6 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003356/0.1322, allocations: 67.94 kB / 431 MB, free: 15.53 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition3,$whenCondition1,$whenCondition2,aD_Converter.y[1],aD_Converter.y[2],aD_Converter.y[3],aD_Converter.y[4],aD_Converter.y[5],aD_Converter.y[6],aD_Converter.y[7],aD_Converter.z,pulse.T0,pulse.np,pulse.sampling,dA_Converter.trig,dA_Converter.x[1],dA_Converter.x[2],dA_Converter.x[3],dA_Converter.x[4],dA_Converter.x[5],dA_Converter.x[6],dA_Converter.x[7],dA_Converter.vout,dA_Converter.y) * Number of discrete states: 13 (pulse.np,aD_Converter.y[7],aD_Converter.y[6],aD_Converter.y[5],aD_Converter.y[4],aD_Converter.y[3],aD_Converter.y[2],aD_Converter.y[1],aD_Converter.z,$whenCondition1,dA_Converter.vout,dA_Converter.y,$whenCondition2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 2 * 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.001447/0.1337, allocations: 1.184 MB / 432.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008746/0.1346, allocations: 0.5176 MB / 432.7 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1346, allocations: 4.188 kB / 432.7 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004848/0.135, allocations: 326.5 kB / 433.1 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007138/0.1358, allocations: 152.8 kB / 433.2 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003972/0.1397, allocations: 2.926 MB / 436.1 MB, free: 10.21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/0.1401, allocations: 0.7406 MB / 436.9 MB, free: 9.449 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001559/0.1403, allocations: 49.91 kB / 436.9 MB, free: 9.398 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.1404, allocations: 67.41 kB / 437 MB, free: 9.332 MB / 366.1 MB Notification: Performance of SimCode: time 8.11e-07/0.1404, allocations: 0 / 437 MB, free: 9.332 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0248/0.1652, allocations: 6.605 MB / 443.6 MB, free: 2.883 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.018/8.183, allocations: 11.12 kB / 443.6 MB, free: 2.875 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_AD_DA_conversion_fmu --startTime=0 --stopTime=0.2 --stepSize=3.57079e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_AD_DA_conversion.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.666104161005933] Failed to read output from testmodel.py, exit status != 0: ['time', 'aD_Converter.z', 'pulse.T0', 'pulse.np'] 8.30574386002263 8.504459237 8.384294294 Calling exit ...