Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 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(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00172/0.001721, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002749/0.002749, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.784/2.784, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.715/4.715, allocations: 409.2 MB / 0.6838 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0007175/0.0007179, allocations: 12 kB / 0.8375 GB, free: 6.551 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.522/1.523, allocations: 146.8 MB / 0.9809 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.008042/1.531, allocations: 3.498 MB / 0.9843 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004244/1.535, allocations: 1.481 MB / 0.9857 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004078/1.536, allocations: 8 kB / 0.9857 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003991/1.536, allocations: 71.53 kB / 0.9858 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0008628/1.537, allocations: 151.6 kB / 0.9859 GB, free: 1.066 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001068/1.538, allocations: 174.7 kB / 0.9861 GB, free: 0.8984 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0008781/1.539, allocations: 307.2 kB / 0.9864 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009127/1.54, allocations: 397.6 kB / 0.9868 GB, free: 180 kB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004112/1.54, allocations: 159.4 kB / 0.9869 GB, free: 20 kB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000609/1.541, allocations: 163.4 kB / 0.9871 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 6.612e-05/1.541, allocations: 16 kB / 0.9871 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004093/1.541, allocations: 75.89 kB / 0.9872 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002161/1.542, allocations: 119.7 kB / 0.9873 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001427/1.542, allocations: 93.45 kB / 0.9874 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0007667/1.543, allocations: 397.2 kB / 0.9878 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/1.543, allocations: 0 / 0.9878 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.387e-06/1.543, allocations: 0 / 0.9878 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.012e-05/1.543, allocations: 0 / 0.9878 GB, free: 15.17 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.002083/1.545, allocations: 0.6279 MB / 0.9884 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 8.743e-05/1.545, allocations: 12.03 kB / 0.9884 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001851/1.545, allocations: 74.53 kB / 0.9885 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00157/1.547, allocations: 111.4 kB / 0.9886 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007334/1.547, allocations: 290.5 kB / 0.9888 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001503/1.548, allocations: 54.64 kB / 0.9889 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/1.548, allocations: 39.95 kB / 0.9889 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001523/1.549, allocations: 0.4969 MB / 0.9894 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.403e-05/1.549, allocations: 3.938 kB / 0.9894 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.597e-05/1.549, allocations: 19.97 kB / 0.9894 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-05/1.549, allocations: 32.98 kB / 0.9895 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001225/1.551, allocations: 387.7 kB / 0.9898 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004782/1.555, allocations: 2.212 MB / 0.992 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00141/1.557, allocations: 278.7 kB / 0.9923 GB, free: 10.18 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 6.436e-05/1.557, allocations: 7.938 kB / 0.9923 GB, free: 10.18 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.026e-05/1.557, allocations: 34.5 kB / 0.9923 GB, free: 10.13 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=19): time 5.17e-06/1.557, allocations: 0 / 0.9923 GB, free: 10.13 MB / 0.7481 GB Notification: Performance of matching and sorting (n=19): time 0.003001/1.56, allocations: 0.6012 MB / 0.9929 GB, free: 9.484 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.681e-05/1.56, allocations: 51.41 kB / 0.9929 GB, free: 9.422 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005022/1.561, allocations: 229 kB / 0.9932 GB, free: 9.191 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.623e-05/1.561, allocations: 29.7 kB / 0.9932 GB, free: 9.156 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000275/1.561, allocations: 211.6 kB / 0.9934 GB, free: 8.945 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/1.561, allocations: 67.08 kB / 0.9935 GB, free: 8.879 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.447e-05/1.561, allocations: 8 kB / 0.9935 GB, free: 8.871 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002238/1.562, allocations: 330.8 kB / 0.9938 GB, free: 8.539 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004039/1.562, allocations: 95.92 kB / 0.9939 GB, free: 8.445 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005104/1.562, allocations: 186.4 kB / 0.994 GB, free: 8.227 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00051/1.563, allocations: 120.9 kB / 0.9942 GB, free: 8.109 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.385e-06/1.563, allocations: 3.953 kB / 0.9942 GB, free: 8.105 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001675/1.565, allocations: 394.4 kB / 0.9945 GB, free: 7.711 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.000875/1.566, allocations: 0.877 MB / 0.9954 GB, free: 6.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/1.566, allocations: 4 kB / 0.9954 GB, free: 6.766 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009393/1.567, allocations: 109.6 kB / 0.9955 GB, free: 6.652 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000441/1.567, allocations: 55.91 kB / 0.9956 GB, free: 6.598 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00595/1.573, allocations: 2.85 MB / 0.9983 GB, free: 3.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005645/1.574, allocations: 35.69 kB / 0.9984 GB, free: 3.445 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.066e-05/1.574, allocations: 8 kB / 0.9984 GB, free: 3.438 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/1.574, allocations: 4 kB / 0.9984 GB, free: 3.434 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001442/1.575, allocations: 320.8 kB / 0.9987 GB, free: 3.117 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/1.575, allocations: 8.031 kB / 0.9987 GB, free: 3.109 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005519/1.576, allocations: 72.78 kB / 0.9988 GB, free: 3.035 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004137/1.576, allocations: 63.91 kB / 0.9988 GB, free: 2.973 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003508/1.58, allocations: 1.524 MB / 1 GB, free: 1.316 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004883/1.58, allocations: 35.83 kB / 1 GB, free: 1.281 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.499e-05/1.58, allocations: 12 kB / 1 GB, free: 1.27 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (27): * Single equations (assignments): 25 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004778/1.581, allocations: 249.5 kB / 1.001 GB, free: 1.016 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.121e-05/1.581, allocations: 23.72 kB / 1.001 GB, free: 0.9922 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.997e-05/1.581, allocations: 34.11 kB / 1.001 GB, free: 0.957 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/1.581, allocations: 0 / 1.001 GB, free: 0.957 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/1.581, allocations: 0 / 1.001 GB, free: 0.957 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/1.581, allocations: 4 kB / 1.001 GB, free: 0.9531 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007538/1.582, allocations: 381.2 kB / 1.001 GB, free: 0.5312 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/1.582, allocations: 3.938 kB / 1.001 GB, free: 0.5273 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002483/1.582, allocations: 35.97 kB / 1.001 GB, free: 0.4922 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006607/1.583, allocations: 101.6 kB / 1.001 GB, free: 396 kB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.543e-05/1.583, allocations: 0 / 1.001 GB, free: 396 kB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005027/1.588, allocations: 2.83 MB / 1.004 GB, free: 13.29 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/1.588, allocations: 8.016 kB / 1.004 GB, free: 13.29 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001337/1.589, allocations: 413.9 kB / 1.004 GB, free: 12.86 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002934/1.59, allocations: 120.8 kB / 1.004 GB, free: 12.72 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.657e-05/1.59, allocations: 0 / 1.004 GB, free: 12.72 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003387/1.59, allocations: 15.98 kB / 1.004 GB, free: 12.71 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/1.59, allocations: 15.98 kB / 1.004 GB, free: 12.69 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.783e-05/1.59, allocations: 4 kB / 1.004 GB, free: 12.69 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0003177/1.591, allocations: 168.5 kB / 1.005 GB, free: 12.52 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.7e-07/1.591, allocations: 0 / 1.005 GB, free: 12.52 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001413/1.592, allocations: 171.3 kB / 1.005 GB, free: 12.35 MB / 0.7637 GB 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 (16): * Single equations (assignments): 14 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002034/1.594, allocations: 0.9453 MB / 1.006 GB, free: 11.37 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003473/1.598, allocations: 0.7832 MB / 1.006 GB, free: 10.55 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 7.625e-06/1.598, allocations: 0.6875 kB / 1.006 GB, free: 10.55 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001412/1.599, allocations: 369.3 kB / 1.007 GB, free: 10.16 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007309/1.6, allocations: 49.83 kB / 1.007 GB, free: 10.11 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00646/1.606, allocations: 3.026 MB / 1.01 GB, free: 6.992 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007351/1.607, allocations: 0.8152 MB / 1.011 GB, free: 6.152 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0004509/1.608, allocations: 62.22 kB / 1.011 GB, free: 6.094 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002229/1.608, allocations: 87.41 kB / 1.011 GB, free: 6.008 MB / 0.7637 GB Notification: Performance of SimCode: time 1.884e-06/1.608, allocations: 0 / 1.011 GB, free: 6.008 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06749/1.675, allocations: 6.458 MB / 1.017 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003333/1.676, allocations: 217.8 kB / 1.017 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.448/5.124, allocations: 0 / 1.017 GB, free: 15.51 MB / 0.7794 GB (rm -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad.fmu > Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad_res.mat does not exist to compare? outputFormat=mat