Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_9_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.001022/0.001022, allocations: 91.84 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.001518/0.001518, 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.433/1.433, allocations: 223.3 MB / 240 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.384/2.384, allocations: 390.4 MB / 0.6655 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003739/0.000374, allocations: 8 kB / 0.8149 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7786/0.779, allocations: 142.3 MB / 0.9538 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.004563/0.7837, allocations: 3.597 MB / 0.9574 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002402/0.7861, allocations: 1.491 MB / 0.9588 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002212/0.7864, allocations: 6.656 kB / 0.9588 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002288/0.7866, allocations: 64.53 kB / 0.9589 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004171/0.787, allocations: 185.5 kB / 0.9591 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004794/0.7875, allocations: 175 kB / 0.9592 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006057/0.7881, allocations: 0.617 MB / 0.9598 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004417/0.7886, allocations: 386.5 kB / 0.9602 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002392/0.7888, allocations: 181.3 kB / 0.9604 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003861/0.7892, allocations: 240.9 kB / 0.9606 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.084e-05/0.7893, allocations: 19.25 kB / 0.9606 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002182/0.7895, allocations: 79.95 kB / 0.9607 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001365/0.7896, allocations: 131.3 kB / 0.9608 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.073e-05/0.7897, allocations: 90.86 kB / 0.9609 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000404/0.7901, allocations: 395.2 kB / 0.9613 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.7902, allocations: 0 / 0.9613 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.834e-06/0.7902, allocations: 0 / 0.9613 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.7902, allocations: 1 kB / 0.9613 GB, free: 2.535 MB / 0.7169 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.0009794/0.7912, allocations: 0.6227 MB / 0.9619 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.7912, allocations: 13.73 kB / 0.9619 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.652e-05/0.7913, allocations: 80.05 kB / 0.962 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006604/0.792, allocations: 105 kB / 0.9621 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003516/0.7923, allocations: 299.2 kB / 0.9624 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.742e-05/0.7924, allocations: 54.36 kB / 0.9624 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.425e-05/0.7925, allocations: 33.62 kB / 0.9625 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008491/0.7933, allocations: 0.5085 MB / 0.9629 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.7934, allocations: 0 / 0.9629 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.143e-05/0.7934, allocations: 16.86 kB / 0.963 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.231e-05/0.7935, allocations: 31.7 kB / 0.963 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006601/0.7941, allocations: 383.9 kB / 0.9634 GB, free: 1 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00232/0.7965, allocations: 2.226 MB / 0.9655 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006914/0.7972, allocations: 265.1 kB / 0.9658 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003622/0.7975, allocations: 161.2 kB / 0.9659 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.7976, allocations: 2.188 kB / 0.9659 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.081e-05/0.7976, allocations: 37.19 kB / 0.966 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=19): time 1.863e-06/0.7976, allocations: 0 / 0.966 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19): time 0.001486/0.7991, allocations: 0.582 MB / 0.9665 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.7992, allocations: 57.53 kB / 0.9666 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002431/0.7994, allocations: 226.3 kB / 0.9668 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.683e-05/0.7995, allocations: 35.33 kB / 0.9668 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.7996, allocations: 209.9 kB / 0.967 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.308e-05/0.7997, allocations: 64.09 kB / 0.9671 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.516e-05/0.7997, allocations: 5 kB / 0.9671 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.7999, allocations: 327.9 kB / 0.9674 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002202/0.8001, allocations: 95.38 kB / 0.9675 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002916/0.8004, allocations: 197.2 kB / 0.9677 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000246/0.8006, allocations: 119.4 kB / 0.9678 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.8007, allocations: 1.25 kB / 0.9678 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008676/0.8015, allocations: 386.4 kB / 0.9682 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001637/0.8017, allocations: 174.1 kB / 0.9684 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.8017, allocations: 3 kB / 0.9684 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005949/0.8023, allocations: 105.1 kB / 0.9685 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002445/0.8026, allocations: 51.66 kB / 0.9685 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003884/0.8065, allocations: 2.835 MB / 0.9713 GB, free: 9.816 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000334/0.8068, allocations: 33.89 kB / 0.9713 GB, free: 9.797 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.387e-05/0.8069, allocations: 9.094 kB / 0.9713 GB, free: 9.797 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.8069, allocations: 4.875 kB / 0.9713 GB, free: 9.797 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008109/0.8077, allocations: 317.6 kB / 0.9716 GB, free: 9.641 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.8077, allocations: 2.5 kB / 0.9716 GB, free: 9.641 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002973/0.808, allocations: 86.58 kB / 0.9717 GB, free: 9.594 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/0.8083, allocations: 56.38 kB / 0.9718 GB, free: 9.582 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001884/0.8102, allocations: 1.495 MB / 0.9732 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002465/0.8104, allocations: 33.36 kB / 0.9733 GB, free: 8.117 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.186e-05/0.8105, allocations: 12.22 kB / 0.9733 GB, free: 8.113 MB / 0.7325 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.0003153/0.8108, allocations: 248 kB / 0.9735 GB, free: 7.887 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.601e-05/0.8108, allocations: 22.56 kB / 0.9735 GB, free: 7.875 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.938e-05/0.8109, allocations: 27.72 kB / 0.9736 GB, free: 7.852 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.8109, allocations: 6.641 kB / 0.9736 GB, free: 7.848 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.8109, allocations: 0 / 0.9736 GB, free: 7.848 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.811, allocations: 7.984 kB / 0.9736 GB, free: 7.84 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001415/0.8124, allocations: 0.8291 MB / 0.9744 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/0.8124, allocations: 5.578 kB / 0.9744 GB, free: 7.172 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001457/0.8126, allocations: 41.3 kB / 0.9744 GB, free: 7.156 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000385/0.8129, allocations: 104.5 kB / 0.9745 GB, free: 7.098 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.813, allocations: 9.188 kB / 0.9745 GB, free: 7.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00279/0.8158, allocations: 2.792 MB / 0.9773 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.8158, allocations: 0.9375 kB / 0.9773 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008189/0.8166, allocations: 424.5 kB / 0.9777 GB, free: 4 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/0.8168, allocations: 117.6 kB / 0.9778 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.099e-05/0.8168, allocations: 7.094 kB / 0.9778 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001671/0.817, allocations: 18.55 kB / 0.9778 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.393e-05/0.8171, allocations: 24.33 kB / 0.9778 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.8171, allocations: 4.562 kB / 0.9778 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001995/0.8173, allocations: 166.6 kB / 0.978 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8173, allocations: 0 / 0.978 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007956/0.8181, allocations: 169 kB / 0.9781 GB, free: 3.688 MB / 0.7325 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.001117/0.8192, allocations: 0.9584 MB / 0.9791 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00195/0.8212, allocations: 0.7724 MB / 0.9798 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.8212, allocations: 0.9688 kB / 0.9798 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008024/0.822, allocations: 371.8 kB / 0.9802 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005012/0.8225, allocations: 53.23 kB / 0.9802 GB, free: 2 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003282/0.8258, allocations: 1.68 MB / 0.9819 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000501/0.8263, allocations: 0.8089 MB / 0.9827 GB, free: 52 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002273/0.8266, allocations: 51.53 kB / 0.9827 GB, free: 32 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001579/0.8267, allocations: 91.33 kB / 0.9828 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of SimCode: time 9.92e-07/0.8267, allocations: 0 / 0.9828 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02011/0.8469, allocations: 6.57 MB / 0.9892 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002305/0.8471, allocations: 209.1 kB / 0.9894 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.93/2.777, allocations: 0 / 0.9894 GB, free: 10.21 MB / 0.7481 GB (rm -f Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad.fmu > Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad_res.mat does not exist to compare? outputFormat=mat