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.001038/0.001037, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001282/0.001282, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.579/2.579, allocations: 409.4 MB / 0.684 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003668/0.0003669, allocations: 11.98 kB / 0.8378 GB, free: 6.469 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7605/0.7609, allocations: 146.8 MB / 0.9811 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.00458/0.7655, allocations: 3.591 MB / 0.9846 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002606/0.7682, allocations: 1.493 MB / 0.9861 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002837/0.7685, allocations: 4 kB / 0.9861 GB, free: 1.117 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002914/0.7688, allocations: 75.48 kB / 0.9862 GB, free: 1.043 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0005914/0.7694, allocations: 183.1 kB / 0.9863 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000587/0.77, allocations: 170.3 kB / 0.9865 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0007491/0.7708, allocations: 0.6192 MB / 0.9871 GB, free: 80 kB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000562/0.7713, allocations: 397.5 kB / 0.9875 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00032/0.7717, allocations: 183.3 kB / 0.9877 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00049/0.7722, allocations: 231.2 kB / 0.9879 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 6.894e-05/0.7722, allocations: 20 kB / 0.9879 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002519/0.7725, allocations: 83.88 kB / 0.988 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001594/0.7727, allocations: 127.7 kB / 0.9881 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.7728, allocations: 89.52 kB / 0.9882 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0004462/0.7732, allocations: 397.2 kB / 0.9886 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.7733, allocations: 4 kB / 0.9886 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.904e-06/0.7733, allocations: 0 / 0.9886 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.481e-05/0.7733, allocations: 0 / 0.9886 GB, free: 14.54 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.001169/0.7745, allocations: 0.624 MB / 0.9892 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.7745, allocations: 12.03 kB / 0.9892 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001299/0.7746, allocations: 74.47 kB / 0.9893 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007651/0.7754, allocations: 111.4 kB / 0.9894 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004614/0.7759, allocations: 286.5 kB / 0.9897 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.08e-05/0.776, allocations: 54.69 kB / 0.9897 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.733e-05/0.7761, allocations: 43.88 kB / 0.9897 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009387/0.777, allocations: 0.5046 MB / 0.9902 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.777, allocations: 0 / 0.9902 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.293e-05/0.7771, allocations: 15.98 kB / 0.9903 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.709e-05/0.7772, allocations: 32.98 kB / 0.9903 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007664/0.7779, allocations: 391.7 kB / 0.9907 GB, free: 12.28 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002683/0.7806, allocations: 2.22 MB / 0.9928 GB, free: 9.828 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006772/0.7813, allocations: 258.6 kB / 0.9931 GB, free: 9.566 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003783/0.7817, allocations: 160.7 kB / 0.9932 GB, free: 9.406 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.276e-05/0.7818, allocations: 8 kB / 0.9932 GB, free: 9.398 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.7818, allocations: 34.52 kB / 0.9933 GB, free: 9.355 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=19): time 2.224e-06/0.7818, allocations: 4 kB / 0.9933 GB, free: 9.352 MB / 0.7481 GB Notification: Performance of matching and sorting (n=19): time 0.001466/0.7833, allocations: 0.5844 MB / 0.9938 GB, free: 8.719 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.7833, allocations: 51.41 kB / 0.9939 GB, free: 8.656 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002738/0.7836, allocations: 233 kB / 0.9941 GB, free: 8.422 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/0.7836, allocations: 25.7 kB / 0.9941 GB, free: 8.391 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.7838, allocations: 211.6 kB / 0.9943 GB, free: 8.18 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.503e-05/0.7839, allocations: 63.09 kB / 0.9944 GB, free: 8.117 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.421e-05/0.7839, allocations: 4 kB / 0.9944 GB, free: 8.113 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.784, allocations: 338.8 kB / 0.9947 GB, free: 7.773 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00023/0.7843, allocations: 95.94 kB / 0.9948 GB, free: 7.68 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002736/0.7846, allocations: 187 kB / 0.995 GB, free: 7.457 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002624/0.7848, allocations: 113.4 kB / 0.9951 GB, free: 7.348 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.7848, allocations: 4 kB / 0.9951 GB, free: 7.344 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008615/0.7857, allocations: 387.6 kB / 0.9955 GB, free: 6.953 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001258/0.7858, allocations: 165.8 kB / 0.9956 GB, free: 6.754 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.7859, allocations: 8 kB / 0.9956 GB, free: 6.746 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004957/0.7864, allocations: 105.6 kB / 0.9957 GB, free: 6.637 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002085/0.7866, allocations: 51.91 kB / 0.9958 GB, free: 6.586 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003034/0.7896, allocations: 2.827 MB / 0.9986 GB, free: 3.492 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002636/0.7899, allocations: 35.73 kB / 0.9986 GB, free: 3.457 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.303e-05/0.7899, allocations: 8 kB / 0.9986 GB, free: 3.449 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.79, allocations: 4 kB / 0.9986 GB, free: 3.445 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007232/0.7907, allocations: 321.6 kB / 0.9989 GB, free: 3.129 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.7907, allocations: 4 kB / 0.9989 GB, free: 3.125 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002642/0.791, allocations: 80.91 kB / 0.999 GB, free: 3.043 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002176/0.7912, allocations: 55.91 kB / 0.999 GB, free: 2.988 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001717/0.7929, allocations: 1.495 MB / 1 GB, free: 1.359 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002356/0.7932, allocations: 35.89 kB / 1.001 GB, free: 1.324 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/0.7932, allocations: 12 kB / 1.001 GB, free: 1.312 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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.0002476/0.7935, allocations: 247.1 kB / 1.001 GB, free: 1.062 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.661e-05/0.7936, allocations: 23.67 kB / 1.001 GB, free: 1.039 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.093e-05/0.7936, allocations: 34.17 kB / 1.001 GB, free: 1.004 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.7936, allocations: 0 / 1.001 GB, free: 1.004 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.7937, allocations: 7.938 kB / 1.001 GB, free: 0.9961 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.7937, allocations: 0 / 1.001 GB, free: 0.9961 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001394/0.7951, allocations: 0.8376 MB / 1.002 GB, free: 80 kB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.7951, allocations: 0 / 1.002 GB, free: 80 kB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/0.7952, allocations: 39.86 kB / 1.002 GB, free: 40 kB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003821/0.7956, allocations: 105.7 kB / 1.002 GB, free: 15.93 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.245e-05/0.7957, allocations: 15.94 kB / 1.002 GB, free: 15.91 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002695/0.7984, allocations: 2.799 MB / 1.005 GB, free: 12.85 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.7984, allocations: 4.031 kB / 1.005 GB, free: 12.85 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000746/0.7991, allocations: 428.4 kB / 1.005 GB, free: 12.4 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.7993, allocations: 116.7 kB / 1.005 GB, free: 12.27 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.442e-05/0.7993, allocations: 12 kB / 1.005 GB, free: 12.26 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001672/0.7995, allocations: 15.98 kB / 1.005 GB, free: 12.24 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.571e-05/0.7996, allocations: 19.97 kB / 1.005 GB, free: 12.22 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.7996, allocations: 8 kB / 1.005 GB, free: 12.21 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0001497/0.7997, allocations: 156.5 kB / 1.005 GB, free: 12.06 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7997, allocations: 0 / 1.005 GB, free: 12.06 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0006817/0.8004, allocations: 167.4 kB / 1.005 GB, free: 11.89 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 15 * 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.00103/0.8015, allocations: 0.9582 MB / 1.006 GB, free: 10.89 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001911/0.8034, allocations: 0.7714 MB / 1.007 GB, free: 10.09 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.8034, allocations: 4 kB / 1.007 GB, free: 10.08 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0007363/0.8042, allocations: 365.8 kB / 1.007 GB, free: 9.699 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004587/0.8046, allocations: 59.11 kB / 1.008 GB, free: 9.641 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002835/0.8075, allocations: 1.675 MB / 1.009 GB, free: 7.875 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005329/0.808, allocations: 0.8107 MB / 1.01 GB, free: 7.039 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.000234/0.8083, allocations: 50.25 kB / 1.01 GB, free: 6.988 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.8084, allocations: 91.41 kB / 1.01 GB, free: 6.898 MB / 0.7637 GB Notification: Performance of SimCode: time 6.51e-07/0.8084, allocations: 4 kB / 1.01 GB, free: 6.895 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02177/0.8302, allocations: 6.546 MB / 1.016 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000232/0.8305, allocations: 222.9 kB / 1.017 GB, free: 324 kB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.9/2.731, allocations: 6.391 kB / 1.017 GB, free: 320 kB / 0.7637 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