Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.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.VariableLoad,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Loads_Examples_VariableLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.VariableLoad,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Loads_Examples_VariableLoad",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.001747/0.001747, 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.002475/0.002475, 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.625/2.625, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.583/4.583, allocations: 409.2 MB / 0.6838 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000754/0.0007542, allocations: 8 kB / 0.8375 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.403/1.403, allocations: 146.8 MB / 0.9809 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.007586/1.411, allocations: 3.307 MB / 0.9841 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00493/1.416, allocations: 1.633 MB / 0.9857 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004974/1.417, allocations: 4 kB / 0.9857 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003207/1.417, allocations: 55.61 kB / 0.9857 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0008803/1.418, allocations: 167.5 kB / 0.9859 GB, free: 1.07 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001206/1.419, allocations: 198 kB / 0.9861 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0007788/1.42, allocations: 295.2 kB / 0.9864 GB, free: 0.5898 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008001/1.421, allocations: 336.3 kB / 0.9867 GB, free: 236 kB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003383/1.421, allocations: 135.5 kB / 0.9868 GB, free: 100 kB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004664/1.422, allocations: 155.4 kB / 0.987 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 4.93e-05/1.422, allocations: 16 kB / 0.987 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003361/1.422, allocations: 79.95 kB / 0.9871 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002108/1.422, allocations: 107.6 kB / 0.9872 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001315/1.422, allocations: 89.52 kB / 0.9872 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0006096/1.423, allocations: 357.3 kB / 0.9876 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/1.423, allocations: 0 / 0.9876 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.134e-06/1.423, allocations: 0 / 0.9876 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 7.384e-06/1.423, allocations: 0 / 0.9876 GB, free: 15.3 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.002334/1.425, allocations: 0.6081 MB / 0.9882 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 7.082e-05/1.425, allocations: 8.031 kB / 0.9882 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001438/1.426, allocations: 70.53 kB / 0.9883 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008868/1.427, allocations: 91.47 kB / 0.9883 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001/1.428, allocations: 282.4 kB / 0.9886 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.979e-05/1.428, allocations: 28.64 kB / 0.9886 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.085e-05/1.428, allocations: 31.95 kB / 0.9887 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/1.429, allocations: 493.8 kB / 0.9891 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/1.429, allocations: 0 / 0.9891 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.563e-05/1.429, allocations: 15.98 kB / 0.9892 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001229/1.429, allocations: 44.52 kB / 0.9892 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001237/1.43, allocations: 382.3 kB / 0.9896 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004156/1.435, allocations: 2.048 MB / 0.9916 GB, free: 10.9 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/1.436, allocations: 230.7 kB / 0.9918 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 4.16e-05/1.436, allocations: 4 kB / 0.9918 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.961e-05/1.436, allocations: 34.52 kB / 0.9918 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=18): time 4.368e-06/1.436, allocations: 4 kB / 0.9918 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of matching and sorting (n=18): time 0.002118/1.438, allocations: 473 kB / 0.9923 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.036e-05/1.438, allocations: 55.41 kB / 0.9923 GB, free: 10.06 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006697/1.439, allocations: 258.6 kB / 0.9926 GB, free: 9.801 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001561/1.439, allocations: 29.7 kB / 0.9926 GB, free: 9.766 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003114/1.439, allocations: 215.7 kB / 0.9928 GB, free: 9.551 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/1.44, allocations: 63.09 kB / 0.9929 GB, free: 9.488 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.202e-05/1.44, allocations: 4 kB / 0.9929 GB, free: 9.484 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002915/1.44, allocations: 334.8 kB / 0.9932 GB, free: 9.148 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004174/1.44, allocations: 108.5 kB / 0.9933 GB, free: 9.039 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005409/1.441, allocations: 210.7 kB / 0.9935 GB, free: 8.785 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004526/1.441, allocations: 137.4 kB / 0.9936 GB, free: 8.652 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.968e-06/1.441, allocations: 4 kB / 0.9936 GB, free: 8.648 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001372/1.443, allocations: 382 kB / 0.994 GB, free: 8.266 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.001478/1.444, allocations: 1.314 MB / 0.9953 GB, free: 6.852 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.906e-05/1.444, allocations: 4 kB / 0.9953 GB, free: 6.848 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000401/1.445, allocations: 28.83 kB / 0.9953 GB, free: 6.816 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000498/1.445, allocations: 79.84 kB / 0.9954 GB, free: 6.738 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00257/1.448, allocations: 1.347 MB / 0.9967 GB, free: 5.262 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000478/1.448, allocations: 47.67 kB / 0.9967 GB, free: 5.215 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.023e-05/1.448, allocations: 12 kB / 0.9968 GB, free: 5.203 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/1.448, allocations: 4 kB / 0.9968 GB, free: 5.199 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001022/1.449, allocations: 313.3 kB / 0.9971 GB, free: 4.895 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/1.449, allocations: 4 kB / 0.9971 GB, free: 4.891 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/1.45, allocations: 4 kB / 0.9971 GB, free: 4.887 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004304/1.45, allocations: 75.89 kB / 0.9971 GB, free: 4.812 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/1.45, allocations: 16.12 kB / 0.9972 GB, free: 4.797 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003807/1.45, allocations: 43.67 kB / 0.9972 GB, free: 4.754 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.529e-05/1.45, allocations: 11.94 kB / 0.9972 GB, free: 4.742 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (32): * Single equations (assignments): 31 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003563/1.451, allocations: 249 kB / 0.9974 GB, free: 4.488 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/1.451, allocations: 27.7 kB / 0.9975 GB, free: 4.461 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.837e-05/1.451, allocations: 26.19 kB / 0.9975 GB, free: 4.438 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/1.451, allocations: 8 kB / 0.9975 GB, free: 4.43 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/1.451, allocations: 0 / 0.9975 GB, free: 4.43 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/1.451, allocations: 3.984 kB / 0.9975 GB, free: 4.426 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006713/1.452, allocations: 357.3 kB / 0.9979 GB, free: 4.027 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/1.452, allocations: 0 / 0.9979 GB, free: 4.027 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002929/1.452, allocations: 47.91 kB / 0.9979 GB, free: 3.98 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001733/1.452, allocations: 28.84 kB / 0.9979 GB, free: 3.949 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.482e-05/1.452, allocations: 0 / 0.9979 GB, free: 3.949 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001778/1.454, allocations: 1.319 MB / 0.9992 GB, free: 2.496 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.454, allocations: 0 / 0.9992 GB, free: 2.496 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/1.455, allocations: 381 kB / 0.9996 GB, free: 2.105 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002479/1.456, allocations: 120.8 kB / 0.9997 GB, free: 1.969 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.684e-05/1.456, allocations: 4 kB / 0.9997 GB, free: 1.965 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003258/1.456, allocations: 27.97 kB / 0.9997 GB, free: 1.938 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/1.456, allocations: 19.91 kB / 0.9997 GB, free: 1.918 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.433e-05/1.456, allocations: 4 kB / 0.9997 GB, free: 1.914 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003685/1.456, allocations: 182 kB / 0.9999 GB, free: 1.734 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.8e-07/1.457, allocations: 0 / 0.9999 GB, free: 1.734 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001099/1.458, allocations: 151.4 kB / 1 GB, free: 1.586 MB / 0.7481 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 (17): * Single equations (assignments): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001682/1.459, allocations: 0.9135 MB / 1.001 GB, free: 0.6445 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001951/1.461, allocations: 0.5169 MB / 1.001 GB, free: 120 kB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/1.461, allocations: 0 / 1.001 GB, free: 120 kB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006261/1.462, allocations: 228.7 kB / 1.002 GB, free: 15.88 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007537/1.463, allocations: 68.95 kB / 1.002 GB, free: 15.82 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007392/1.47, allocations: 3.811 MB / 1.005 GB, free: 11.88 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000839/1.471, allocations: 0.8071 MB / 1.006 GB, free: 11.05 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0004894/1.472, allocations: 78.2 kB / 1.006 GB, free: 10.97 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00024/1.472, allocations: 87.41 kB / 1.006 GB, free: 10.88 MB / 0.7637 GB Notification: Performance of SimCode: time 2.154e-06/1.472, allocations: 0 / 1.006 GB, free: 10.88 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08454/1.556, allocations: 5.578 MB / 1.012 GB, free: 5.516 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004076/1.557, allocations: 225.1 kB / 1.012 GB, free: 5.266 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.868/5.425, allocations: 0 / 1.012 GB, free: 5.266 MB / 0.7637 GB (rm -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_DC_Loads_Examples_VariableLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_DC_Loads_Examples_VariableLoad.fmu > Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad_res.mat does not exist to compare? outputFormat=mat